-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkjqYUAACgkQwRnhpk1wk46umgCgoL45ACDyksWojmFIrBG3aRXF
o9EAniQjeT5HlcFrJCny2AWEiQFPICjG
=K2Gp
-----END PGP SIGNATURE-----