Found this article today on Google's mod_pagespeed: http://techportal.inviqa.com/2013/07/11/speedy-sites-with-apache-and-mod_pag...
Have we ever tried testing MediaWiki against mod_pagespeed? It might be pretty useful considering it automatically handles JS/CSS/HTML/image minimization and domain sharding.
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
On 11 July 2013 22:26, Tyler Romeo tylerromeo@gmail.com wrote:
Found this article today on Google's mod_pagespeed: http://techportal.inviqa.com/2013/07/11/speedy-sites-with-apache-and-mod_pag... Have we ever tried testing MediaWiki against mod_pagespeed? It might be pretty useful considering it automatically handles JS/CSS/HTML/image minimization and domain sharding.
FWIW, on a tiny server I found it difficult, annoying and not doing anything that sending gzipped didn't achieve. YMMV.
- d.
On 12.07.2013, 1:26 Tyler wrote:
Found this article today on Google's mod_pagespeed: http://techportal.inviqa.com/2013/07/11/speedy-sites-with-apache-and-mod_pag...
Have we ever tried testing MediaWiki against mod_pagespeed? It might be pretty useful considering it automatically handles JS/CSS/HTML/image minimization and domain sharding.
FYI, Google already sent us a sample config for this module optimized for our mobile site, I'm going to try it tomorrow.
On 12.07.2013, 3:16 Max wrote:
FYI, Google already sent us a sample config for this module optimized for our mobile site, I'm going to try it tomorrow.
And here are the results of my research: https://www.mediawiki.org/wiki/User:MaxSem/mod_pagespeed Briefly, this is interesting stuff, but not usable on WMF, or on any other large MW installations either.
On 12 July 2013 23:03, Max Semenik maxsem.wiki@gmail.com wrote:
And here are the results of my research: https://www.mediawiki.org/wiki/User:MaxSem/mod_pagespeed Briefly, this is interesting stuff, but not usable on WMF, or on any other large MW installations either.
Does bugger-all good on small MW sites, too - the bottleneck with those will be CPU or memory well before it's sheer bytes served.
- d.
[cc'ing Joshua Marantz who leads the mod_pagespeed effort at Google, and Ilya Grigorik, their developer advocate for page performance]
The principals behind mod_pagespeed, especially as they related to mobile page load performance as outlined in http://bit.ly/mobilecrp could themselves be implemented within mediawiki. mod_pagespeed itself can't just be dropped in to do the job, and especially doesn't play nicely with the full page edge caching wmf depends on; but it could be used as development guide.
For mobile performance especially, the critical points are:
* Everything needed to fully render above the fold content should fit within 10 packets, given our current 10 packet tcp initial connection window. * Those <= 10 packets must be in the service of a single request. * All css required by that above-the-fold view must be inline. It doesn't have to be all of the css required for the page overall. * Same with javascript - anything not essential to above the fold should be deferred.
I can't think of any good reasons why this couldn't be implemented by MobileFrontend. Accomplishing all of what mod_pagespeed addresses for general mediawiki use would likely involve a rewrite of resourceloader.
-Asher
On Fri, Jul 12, 2013 at 3:03 PM, Max Semenik maxsem.wiki@gmail.com wrote:
On 12.07.2013, 3:16 Max wrote:
FYI, Google already sent us a sample config for this module optimized for our mobile site, I'm going to try it tomorrow.
And here are the results of my research: https://www.mediawiki.org/wiki/User:MaxSem/mod_pagespeed Briefly, this is interesting stuff, but not usable on WMF, or on any other large MW installations either.
-- Best regards, Max Semenik ([[User:MaxSem]])
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Fri, Jul 12, 2013 at 3:15 PM, Asher Feldman afeldman@wikimedia.orgwrote:
[cc'ing Joshua Marantz who leads the mod_pagespeed effort at Google, and Ilya Grigorik, their developer advocate for page performance]
Hi! Ilya, I learned a ton from your presentations. You should come by our offices sometime! :)
I can't think of any good reasons why this couldn't be implemented by
MobileFrontend. Accomplishing all of what mod_pagespeed addresses for general mediawiki use would likely involve a rewrite of resourceloader.
Sounds about right. Getting RL to in-line more content would not require a re-write, though, just some modification.
wikitech-l@lists.wikimedia.org