r72786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72785‎ | r72786 | r72787 >
Date:09:18, 11 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix s-max-age to s-maxage
Modified paths:
  • /trunk/phase3/includes/AjaxResponse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AjaxResponse.php
@@ -125,7 +125,7 @@
126126
127127 # Let the client do the caching. Cache is not purged.
128128 header ( "Expires: " . gmdate( "D, d M Y H:i:s", time() + $this->mCacheDuration ) . " GMT" );
129 - header ( "Cache-Control: s-max-age={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" );
 129+ header ( "Cache-Control: s-maxage={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" );
130130 }
131131
132132 } else {

Status & tagging log