From 90eeb8ff94a63db48b2bf6bbbdb3ee76a58089d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Tue, 6 Mar 2012 17:53:55 +0100 Subject: [PATCH] Agenda export: Tweaked HTTP headers for Google Agenda import --- htdocs/public/agenda/agendaexport.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/public/agenda/agendaexport.php b/htdocs/public/agenda/agendaexport.php index d4eea8f36a9..53fc43c00e0 100644 --- a/htdocs/public/agenda/agendaexport.php +++ b/htdocs/public/agenda/agendaexport.php @@ -155,6 +155,9 @@ if ($format == 'ical' || $format == 'vcal') // Ajout directives pour resoudre bug IE //header('Cache-Control: Public, must-revalidate'); //header('Pragma: public'); + + // Google Agenda import tweak + header('Cache-Control: max-age=7200, private, must-revalidate'); // Clean parameters $outputfile=$conf->agenda->dir_temp.'/'.$filename;