On 9/16/07, Nick Jenkins nickpj@gmail.com wrote:
Presumably though if the size of a thumbnail is 0 bytes, then MediaWiki can safely assume that something went wrong, and that the cache is bad. E.g. Would an "if( filesize( $thumbnail ) === 0 )" or similar test help when determining whether to use the cache or not?
Thumbnail caches don't involve MediaWiki at all, do they? The change would have to be made with Squid, I think (which, ideally, would have gracefully refused to cache new things when it hit 0 bytes, rather than caching zero-byte files).