http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72786

Revision: 72786
Author:   nikerabbit
Date:     2010-09-11 09:18:51 +0000 (Sat, 11 Sep 2010)

Log Message:
-----------
Fix s-max-age to s-maxage

Modified Paths:
--------------
    trunk/phase3/includes/AjaxResponse.php

Modified: trunk/phase3/includes/AjaxResponse.php
===================================================================
--- trunk/phase3/includes/AjaxResponse.php      2010-09-11 09:09:49 UTC (rev 
72785)
+++ trunk/phase3/includes/AjaxResponse.php      2010-09-11 09:18:51 UTC (rev 
72786)
@@ -125,7 +125,7 @@
 
                                # 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 {



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to