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)"))]
=======================================================
The MIME type in the response is logged, to me that would be the obvious way to distinguish between CSS and HTML.
-- Tim Starling