Googles mod_pagespeed

Anthony Parsons

Well-known member
https://developers.google.com/speed/pagespeed/module

I asked ServInt to install this onto my server last night, and for me, the results are amazing. I had APC caching implemented, which I have now removed entirely with zero effect to page delivery.

Prior to this, with caching and server caching, a lot of style tweaks and such to remove http requests, thread pages often struggled to get close to 90 on the Google pagespeed test... now they score 94 + / - depending on page. Pretty much above 90 regardless of the page across all my sites.

I have disabled my APC backend and frontend caching, as it made no difference to page loading with this installed.

ServInt did say that their experience installing this for customers has been hit and miss. Some it has worked truly well for, others it has caused their server to perform worse.

Before you ask... you're unlikely to get this installed on shared hosting, not unless the host has installed it for everyone.

Have you used it? What is your experience with it?
 
Pagespeed isn't a replacement for an opcode cache, I would keep them both running simultaneously.. even if the difference doesn't seem noticeable thus far.

I compiled nginx with ngx_pagespeed support a few months ago. Prior to that pagespeed score was 94-96, now it's 98. It did require some tweaking and setting up, and it didn't seem 100% glitch free but it's working now and I plan to continue using it.
 
Pagespeed isn't a replacement for an opcode cache, I would keep them both running simultaneously.. even if the difference doesn't seem noticeable thus far.

I compiled nginx with ngx_pagespeed support a few months ago. Prior to that pagespeed score was 94-96, now it's 98. It did require some tweaking and setting up, and it didn't seem 100% glitch free but it's working now and I plan to continue using it.

I recently installed the nginx module too and it is surprisingly good. I tried a much earlier version and it made little to no difference at all. Enabling memcache caching for it helps speed things up even further too.
 
I still have APC on the server, I just don't have it enabled through the XF config. Wouldn't this negate the need for APC fronted? Backend... ok, I see your point... frontend though I'm seeing no difference now???
 
Yeah i use Nginx equivalent of mod_pagespeed, ngx_pagespeed for some of my sites via Centmin Mod http://centminmod.com/nginx_ngx_pagespeed.html - works nicely :)

Latest ngx_pagespeed 1.6.29.3 beta also adds PageSpeed Console support http://centminmod.com/nginx_ngx_pagespeed.html#pagespeedconsole

But your mileage will vary depending on how your site is optimised previously. For me it's about 0.5 to 0.9 seconds improvement from sub 4 seconds to sub 3 seconds average page load speed - shaving off ~6-9 page elements. But both mod_pagespeed and ngx_pagespeed has a price for that improved pagespeed, that is higher resource usage some scalability regression in terms of concurrent user capability.

If you don't need full pagespeed feature set and only need css/js minification and combining, for Nginx there's httpd-concat module i.e. http://centminmod.com/nginx.html#httpconcat
 
Hi @Anthony Parsons, after you got ServInt to install it for you did you have to make any other changes to xenforo to get it running? I mean if I were to implement it, I just have to ask ServInt to install it on my VPS right? Thanks.
 
Yes, just ask them to install it and there is nothing else for you to do.

Thank you.

Update: I have requested ServInt to install it for me too. They are now working on it. :)

Update 2: Installation complete. Previously GTMetrix showed me PageSpeed Grade: C (79%) and YSlow Grade: C (71%). After installation it now shows me PageSpeed Grade: A (95%) and YSlow Grade: C (74%). Isn't that a huge jump? (y)
 
Last edited:
I found ngx_pagespeed to be pretty effective, but for some reason it made about 1 in 50 pageloads truncate half the html and/or css. Never did figure out why (same issue on 1.6.29.3 too)
 
https://developers.google.com/speed/pagespeed/module

I asked ServInt to install this onto my server last night, and for me, the results are amazing. I had APC caching implemented, which I have now removed entirely with zero effect to page delivery.

Prior to this, with caching and server caching, a lot of style tweaks and such to remove http requests, thread pages often struggled to get close to 90 on the Google pagespeed test... now they score 94 + / - depending on page. Pretty much above 90 regardless of the page across all my sites.

I have disabled my APC backend and frontend caching, as it made no difference to page loading with this installed.

ServInt did say that their experience installing this for customers has been hit and miss. Some it has worked truly well for, others it has caused their server to perform worse.

Before you ask... you're unlikely to get this installed on shared hosting, not unless the host has installed it for everyone.

Have you used it? What is your experience with it?


I have used it but it caused huge issues with my site. I would recommend people try it on a dev server and not a live one first :).
 
Have been looking at LiteSpeed myself, but I'm unsure if i only need the free version or the paid version, then if so what license :/
 
Have been looking at LiteSpeed myself, but I'm unsure if i only need the free version or the paid version, then if so what license :/
You can't really compare the free version to the paid one. The paid one has much more features, enhancements, and speed. I don't like LiteSpeed just because it's a closed code and support sometimes sucks. I've bought the VPS2 license (Owned), I don't think it's that bad.
 
Top Bottom