-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nick Jenkins wrote:
At least this explains why we have half as many CSS loads as page views. :)
Actually, I think 20% is an *underestimate* of the CSS & JS loads. The way it's being measured is like this:
- ("upload", re.compile(r"^http://upload.wikimedia.org/")),
- ("article", re.compile(r"^http://%5B%5E/%5D+/wiki/")),
- ("wikifiles", re.compile(r"^http://%5B%5E/%5D+/w/")),
- ("skins-css", re.compile(r"^http://%5B%5E/%5D+/skins-1.5/.*%5C.css")),
- ("skins-js", re.compile(r"^http://%5B%5E/%5D+/skins-1.5/.*%5C.js")),
- ("skins-image", re.compile(r"^http://%5B%5E/%5D+/skins-1.5/.*%5C.(?:png%7Cgif%7Cjpg)"))]
=======================================================
Now, for me, 4 of the 7 CSS stylesheets I'm loading would be counted as "wikifiles" :
Irrelevant, since I was measuring the CSS and JS *files* specifically.
Those put out through the wiki are already compressed.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)