From 104b68f1488102dc4f8f1cf4f0765d04af5c3fc4 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Tue, 20 Jul 2004 19:20:19 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3908 --- html/inc/cache.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/inc/cache.inc b/html/inc/cache.inc index 5653993d55..a60377f21f 100644 --- a/html/inc/cache.inc +++ b/html/inc/cache.inc @@ -23,7 +23,7 @@ function start_cache($max_age, $params=""){ ob_implicit_flush(0); Header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); Header("Expires: " . gmdate("D, d M Y H:i:s",time()+$max_age) . " GMT"); - Header("Cache-Control: public, max-age=" . $max_age . ", must-revalidate"); + Header("Cache-Control: public, max-age=" . $max_age); } else { // Otherwise serve the cached version and exit // @@ -32,7 +32,7 @@ function start_cache($max_age, $params=""){ } Header("Last-Modified: " . gmdate("D, d M Y H:i:s",@filemtime($path)) . " GMT"); Header("Expires: " . gmdate("D, d M Y H:i:s",@filemtime($path)+$max_age) . " GMT"); - Header("Cache-Control: public, max-age=" . $max_age . ", must-revalidate"); + Header("Cache-Control: public, max-age=" . $max_age ); readfile($path); exit; }