}
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;