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