From: arno Date: Thu, 20 Aug 2009 10:31:54 +0000 (+0200) Subject: items cache-control set to no-cache X-Git-Tag: v0.3b_thomas~4 X-Git-Url: https://dev.renevier.net/?p=syp.git;a=commitdiff_plain;h=f2d7e9e98dc651a2c84c9385838c67d5737d04f0 items cache-control set to no-cache --- diff --git a/items.php b/items.php index a2a0446..e2fe1db 100644 --- a/items.php +++ b/items.php @@ -11,7 +11,8 @@ function headers_callback ($output) { } header ("Content-type: application/vnd.google-earth.kml+xml"); - header ("Cache-control: must-revalidate"); + // no-cache is needed otherwise IE does not try to get new version. + header ("Cache-control: no-cache, must-revalidate"); header (sprintf ("ETag: %s", $etag)); return $output;