check that $wgArticle is an instance of the Article class in Skin::pageStats() per...
[lhc/web/wiklou.git] / includes / HTMLFileCache.php
index c23ed84..5e42389 100644 (file)
@@ -131,7 +131,8 @@ class HTMLFileCache {
                wfDebug(" loadFromFileCache()\n");
 
                $filename = $this->fileCacheName();
-               // Raw pages will handle control on their own
+               // Raw pages should handle cache control on their own,
+               // even when using file cache. This reduces hits from clients.
                if( $this->mType !== 'raw' )
                        $wgOut->sendCacheControl();