Though Wikimedia servers are quite efficient already, it might be worth checking this out:
http://code.google.com/intl/de/speed/page-speed/docs/module.html
Cheers, Magnus
2010/11/4 Magnus Manske magnusmanske@googlemail.com:
Though Wikimedia servers are quite efficient already, it might be worth checking this out:
http://code.google.com/intl/de/speed/page-speed/docs/module.html
You can have an automated program attempt to use the best practices mentioned there to optimize your site, or you can have humans implement those optimizations in MediaWiki. The latter is exactly what ResourceLoader is doing.
Roan Kattouw (Catrope)
On Thu, Nov 4, 2010 at 5:56 AM, Magnus Manske magnusmanske@googlemail.com wrote:
Though Wikimedia servers are quite efficient already, it might be worth checking this out:
http://code.google.com/intl/de/speed/page-speed/docs/module.html
From their site:
"mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets.."
This is already being handled by the in-trunk-but-not-deployed ResourceLoader. It does all the combining and minification of Javascript and CSS.
"It also includes filters for optimizing JPEG and PNG images."
I'm pretty sure we're not running Apache on the media servers, so the benefit here is moot.
In general: cool, and probably useful for a lot of people. Probably not useful for WMF.
-Chad
Chad wrote:
From their site:
"mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets.."
This is already being handled by the in-trunk-but-not-deployed ResourceLoader. It does all the combining and minification of Javascript and CSS.
"It also includes filters for optimizing JPEG and PNG images."
I'm pretty sure we're not running Apache on the media servers, so the benefit here is moot.
In general: cool, and probably useful for a lot of people. Probably not useful for WMF.
-Chad
I think many of their changes would break MediaWiki caching system. We could reuse their image stripping module [1] on generating the thumbnails, although the mention that it may produce a XSS make me wary of such method.
1- http://code.google.com/intl/de/speed/page-speed/docs/filter-image-optimize.h...
2010/11/4 Platonides Platonides@gmail.com:
I think many of their changes would break MediaWiki caching system. We could reuse their image stripping module [1] on generating the thumbnails, although the mention that it may produce a XSS make me wary of such method.
They also say they do data URL inlining based on user agent. We use aggressive caching so we can't do anything based on User-Agent. We still do data URLs, though, with a fallback rule that happens to only work in browsers that don't support data URLs. It's a dirty hack, but it works.
Roan Kattouw (Catrope)
wikitech-l@lists.wikimedia.org