[Mediawiki-l] Smart caching

Brion Vibber brion at pobox.com
Wed Jul 7 20:54:05 UTC 2004

Mark Bergsma wrote:
> Brion Vibber wrote:
>> MediaWiki includes a limited to-disk page caching option; only 
>> non-logged-in hits are stored, and only for pages that aren't 
>> redirects, special pages, etc.
> I just tried to use this, and it seems the file cache is totally broken 
> in current mediawiki 1.3.0beta4. It looks like the code is not 
> maintained, probably because it is not used by wikipedia.
> Basically, the file cache is never used, except when oldid is defined, 
> i.e. when viewing a diff.

That doesn't make sense; those are circumstances where the file cache 
would *never* be used. Can you confirm?

> Also, the file cache is not useable when you have either the IP shown in 
> the page header (for anonymous users), or when it is a logged in user. 
> Either of this is the case on wikipedia, so it's not useable there.

The file cache is meant for read-only viewers, not editors, so this is 
known and intentional behavior.

Try also setting:
$wgShowIPinHeader = false;

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20040707/abadb245/attachment.pgp 

More information about the MediaWiki-l mailing list