[phaux commit] r118 - trunk/HtmlRoot

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 8, 2007, 4:14:50 PM10/8/07
to phau...@googlegroups.com
Author: WHarford
Date: Mon Oct 8 13:13:55 2007
New Revision: 118

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

Reply all
Reply to author
Forward
0 new messages