Improved filecache short-circuit slightly (catching NS_MEDIA and such)
This commit is contained in:
parent
19ade0cc7e
commit
3cd27ff003
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ class MediaWiki {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( $wgUseFileCache && $wgTitle->getNamespace() != NS_SPECIAL ) {
|
||||
if ( $wgUseFileCache && $wgTitle->getNamespace() >= 0 ) {
|
||||
wfProfileIn( 'main-try-filecache' );
|
||||
// Raw pages should handle cache control on their own,
|
||||
// even when using file cache. This reduces hits from clients.
|
||||
|
|
|
|||
Loading…
Reference in a new issue