Index: trunk/phase3/includes/ResourceLoader.php |
— | — | @@ -258,7 +258,7 @@ |
259 | 259 | |
260 | 260 | header( 'Last-Modified: ' . wfTimestamp( TS_RFC2822, $mtime ) ); |
261 | 261 | $expires = wfTimestamp( TS_RFC2822, min( $maxage, $smaxage ) + time() ); |
262 | | - header( "Cache-Control: public, maxage=$maxage, s-maxage=$smaxage" ); |
| 262 | + header( "Cache-Control: public, max-age=$maxage, s-maxage=$smaxage" ); |
263 | 263 | header( "Expires: $expires" ); |
264 | 264 | |
265 | 265 | // Check if there's an If-Modified-Since header and respond with a 304 Not Modified if possible |