X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=items.php;h=e2fe1dbbe272b222d6f12d5df6e03a75ffbd6044;hp=a2a04464e398110e1cd1e2bc71f66b3d87a9e3c8;hb=f2d7e9e98dc651a2c84c9385838c67d5737d04f0;hpb=622411c971955d02eb265498250c683b6f28a154 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;