[Mediawiki-l] Smart caching

Brion Vibber brion at pobox.com
Wed Jul 7 22:59:56 UTC 2004


Mark Bergsma wrote:
> Brion Vibber wrote:
>> That doesn't make sense; those are circumstances where the file cache 
>> would *never* be used. Can you confirm?
> 
> 
> Well the only place I found a call to Article::tryFileCache, was within 
> an if ( !is_null( $oldid )...

This looks like a typo. It used to be:

   if ( !isset( $oldid ) and $this->checkTouched() ) {

Change it to:

   if ( empty( $oldid ) and $this->checkTouched() ) {

and let me know how it works.

-- 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/1e15da4d/attachment.pgp 


More information about the MediaWiki-l mailing list