From f2d7e9e98dc651a2c84c9385838c67d5737d04f0 Mon Sep 17 00:00:00 2001 From: arno Date: Thu, 20 Aug 2009 12:31:54 +0200 Subject: [PATCH] items cache-control set to no-cache --- items.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2