Share » Forums » General » Anyone tried Google mod_pagespeed on...

Anyone tried Google mod_pagespeed on some eZ site yet?

Anyone tried Google mod_pagespeed on some eZ site yet?

Wednesday 01 December 2010 2:53:52 am - 4 replies

Author Message

Sanjay Ginde

Monday 06 December 2010 7:36:22 am

I've been playing around with mod_pagespeed in test environment. It's been working fine with eZ publish, as I was expecting. However, I have not done a true before/after performance test to see how much better it is. I think mod_pagespeed works well if you do not have an optimized apache/ezpublish configuration, as it can fill in a lot of holes. For example, you could use eZjscore to implement your JS/CSS packing, or let mod_pagespeed do it. Or you can configure your expires headers in apache manually or let pagespeed handle similar optimizations.

One feature I'm exicited to use is collapse whitespace. I had implemented the feature on a past Java web project and got significant download size gains. However, a gzip filter can compress much of that whitespace so I'm not sure what the effective gain will be. I'd love to hear more experiences with it and I'll try to add more as I test with it further. One feature I'm curious to hear more about is the image optimizer. I haven't experimented with that filter yet.

Gaetano Giunta

Monday 06 December 2010 12:14:23 pm

Agree with Sanjay: a properly tuned Apache/eZP configuration should be almost indistinguishable from a mod_pagespeed install.

. eZJscore can be used for css/js minimization and collapsing.

. a custom Imagemagick filter to strip images more aggressively. images's width and height are there because of the template for the ezimage datatype (even thought it would be nice to have it for design images too!)

. collapsing whitespace is most likely useless if you pass the response through gzip afterwards. And you can do that already within Apache or within php

. last but not least, in eZP you can implement page-level filters that are run on the generated html, once it is ready. You might add some html-optimizing code in there if you want (or a tidy filter)

Now, if we could start sending to the browser part of the page content without waiting for it to be completely generated, that would be a great improvement!

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Tuesday 07 December 2010 1:11:31 am

That all sounds pretty interesting. It should not, as Gaetano says, replace a good knowledge of eZ Publish when it comes to optimizing it, but can help reaching good performances without this knowledge, in the first round.

Not knowing much about Google mod_pagespeed, do you guys know if there are other built-in improvements which we do not yet find in eZ Publish or affiliate extensions ?

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Damien Pobel

Tuesday 07 December 2010 11:06:10 am

Hi,

I've not tested mod_pagespeed myself as I prefer hand made optimisations. But you should have a look at mod_Pagespeed Performance Review published on the performance advent calendar.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu