-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Juliano F. Ravasi wrote:
Talking about gzipping, something a little off-topic: Currently, the parsed output in the object cache is gzipped, and MediaWiki has to unzip it, insert it into the Monobook skin, then gzip again (in PHP zlib output compression). Did you consider taking a shortcut, and sending the compressed parser output directly from the cache to the client, compressing only the surroundings created by the skin?
That sounds like some scary gzip voodoo. :) gzip is pretty cheap (especially compared to all the surrounding network time); playing games like this is much more likely to break, assuming it even works at all.
- Stick a version number on the URL in a query string (probably easy --
grab the timestamp from the image metadata and toss it on the url?)
I think it is better to have a fragment (like, the first 32-bits) of the SHA1, so that rollbacks preserve the already-cached versions.
Doable, but wouldn't be a huge % of bandwidth probably.
- -- brion