From: Brion Vibber Date: Sun, 2 Apr 2006 03:55:24 +0000 (+0000) Subject: Live fix: cache header tweak X-Git-Tag: 1.6.0~78 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=a418b4ae41d91a3c2afc95d2babee9fc9f4e0828;p=lhc%2Fweb%2Fwiklou.git Live fix: cache header tweak --- diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php index 5d9582045c..7ed6bdcef5 100644 --- a/includes/AjaxFunctions.php +++ b/includes/AjaxFunctions.php @@ -90,7 +90,7 @@ class AjaxCachePolicy { header ("Pragma: no-cache"); // HTTP/1.0 } else { header ("Expires: " . gmdate( "D, d M Y H:i:s", time() + $this->policy ) . " GMT"); - header ("Cache-Control: public,max-age={$this->policy}"); + header ("Cache-Control: s-max-age={$this->policy},public,max-age={$this->policy}"); } } }