]> dev.renevier.net Git - syp.git/commitdiff
items cache-control set to no-cache
authorarno <arenevier@fdn.fr>
Thu, 20 Aug 2009 10:31:54 +0000 (12:31 +0200)
committerarno <arenevier@fdn.fr>
Thu, 20 Aug 2009 12:17:26 +0000 (14:17 +0200)
items.php

index a2a04464e398110e1cd1e2bc71f66b3d87a9e3c8..e2fe1dbbe272b222d6f12d5df6e03a75ffbd6044 100644 (file)
--- 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;