From 793eb5b0daf4fc81f0ac560655562b79c4d75caf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 11 Sep 2010 09:18:51 +0000 Subject: [PATCH] Fix s-max-age to s-maxage --- includes/AjaxResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 22b33a4699..014798f81a 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -125,7 +125,7 @@ class AjaxResponse { # Let the client do the caching. Cache is not purged. header ( "Expires: " . gmdate( "D, d M Y H:i:s", time() + $this->mCacheDuration ) . " GMT" ); - header ( "Cache-Control: s-max-age={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" ); + header ( "Cache-Control: s-maxage={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" ); } } else { -- 2.20.1