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