Modified:
trunk/HtmlRoot/resource.php
Log:
get rid of must-revalidate
Modified: trunk/HtmlRoot/resource.php
==============================================================================
--- trunk/HtmlRoot/resource.php (original)
+++ trunk/HtmlRoot/resource.php Mon Oct 8 13:13:55 2007
@@ -31,7 +31,7 @@
if(is_file($dir.'/'.$resource)){
$offset = 3600 * 24;
header('Expires: ' . gmdate("D, d M Y H:i:s", time() + $offset) . ' GMT');
- header('Cache-control: public, must-revalidate');
+ header('Cache-control: public');
header('Content-Length: '.filesize($dir.'/'.$resource));
$gmt_mtime = gmdate('D, d M Y H:i:s', filemtime($dir.'/'.$resource)
) . ' GMT';
header('Last-Modified: '.$gmt_mtime);