1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Googles mod_pagespeed

Discussion in 'Off Topic' started by Anthony Parsons, Jul 23, 2013.

  1. Anthony Parsons

    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?
     
    Jeffin and p4guru like this.
  2. BamaStangGuy

    BamaStangGuy Well-Known Member

    Not sure why you would remove APC? Two completely different caching systems. APC caches php script code so that it does not have to be processed every request. You should keep a php opcode cache installed.
     
    Anthony Parsons and euantor like this.
  3. Jeremy P

    Jeremy P Well-Known Member

    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.
     
    p4guru, Anthony Parsons and euantor like this.
  4. euantor

    euantor Well-Known Member

    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.
     
    Jeremy P likes this.
  5. Anthony Parsons

    Anthony Parsons Well-Known Member

    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???
     
  6. Anthony Parsons

    Anthony Parsons Well-Known Member

    My page improvement is amazing... just those few extra points on pagespeed... literally about 2+ seconds wiped from every page load.
     
  7. p4guru

    p4guru Well-Known Member

    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
     
    Anthony Parsons likes this.
  8. Jeffin

    Jeffin Well-Known Member

    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.
     
  9. Anthony Parsons

    Anthony Parsons Well-Known Member

    Yes, just ask them to install it and there is nothing else for you to do.
     
    Jeffin likes this.
  10. Jeffin

    Jeffin Well-Known Member

    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: Jul 24, 2013
    Anthony Parsons likes this.
  11. Luke F

    Luke F Well-Known Member

    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)
     
    Anthony Parsons likes this.
  12. Anthony Parsons

    Anthony Parsons Well-Known Member

    Google is the only thing that matters... nice results.
     
  13. Moshe1010

    Moshe1010 Well-Known Member

    Would it work with LiteSpeed? I don't know if I want to get into it since I get 90%
     
  14. Anthony Parsons

    Anthony Parsons Well-Known Member

    Good question, no idea.
     
  15. Jeffin

    Jeffin Well-Known Member

  16. Jason

    Jason Well-Known Member

    No, but you could always configure LiteSpeed to do what mod_pagespeed does manually.
     
  17. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member


    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 :).
     
  18. Moshe1010

    Moshe1010 Well-Known Member

    Can you guide me through specific settings in LiteSpeed's web console?

    Thanks.
     
  19. Carla Birch

    Carla Birch Well-Known Member

    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 :/
     
  20. Moshe1010

    Moshe1010 Well-Known Member

    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.
     

Share This Page