From a418b4ae41d91a3c2afc95d2babee9fc9f4e0828 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 2 Apr 2006 03:55:24 +0000 Subject: [PATCH] Live fix: cache header tweak --- includes/AjaxFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"); } } } -- 2.20.1