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

nginx pagespeed or nginx concat module ?

Discussion in 'Server Configuration and Hosting' started by dbembibre, Oct 16, 2013.

  1. dbembibre

    dbembibre Active Member

    I thinking in recompile nginx with pagespeed module support, anyone is using with xenforo ? any real benefit in load times ? please share your experience with it.

    I see another interesting module http_concat_module to cancatenate css and js, any experience with this ?
  2. Jeremy P

    Jeremy P Well-Known Member

    ngx_pagespeed isn't as stable as I'd like but I'm running it in production with XF just fine.

    Before pagespeed I had already taken basic steps to speed up load times (minify, optimize, deferred javascript) so there wasn't huge room for improvement, but it helps that I don't have to optimize assets manually and did show some minor loading benefits.

    dbembibre likes this.
  3. p4guru

    p4guru Well-Known Member

    I use Centmin Mod which includes both modules http://centminmod.com/nginx.html#httpconcat so have tried both methods.

    Both will speed up page load times when it comes to css and js but http concat will do it with alot less server resource overhead in my opinion. So if you don't need full ngx_pagespeed feature set, http concat is good alternative.
    dbembibre likes this.
  4. dbembibre

    dbembibre Active Member

    I start to play with http_concat i post the results soon.
    MattW likes this.
  5. Floren

    Floren Well-Known Member

    IMO, both modules are useless. For example GZIP + CSS minification will blow http_concat, while for nginx_pagespeed, if you like to live with 3 x more server load without any significant improvements, go for it.
    EDIT: My experience with ngx_pagespeed. And another interesting thread.
    Last edited: Oct 27, 2013
    Marcus and dbembibre like this.
  6. Brent W

    Brent W Well-Known Member

    Thread is over. The all knowing Floren has spoken.
    zastavra, Tracy Perry and Deebs like this.
  7. motowebmaster

    motowebmaster Active Member

    I've been trying modpagespeed today. Still tweaking a few things, but the results are impressive.
  8. Floren

    Floren Well-Known Member

    @motowebmaster, can you post more details please? I updated the previous post with my experiences related to ngx_pagespeed. Basically, pagespeed will pretty much tweak things for you. Why not do it yourself into templates and eliminate the server stress? I remember that @Mike Edge posted something about high server load on his multisite servers.

    My site metrics compared to XenForo metrics. Feel free to share yours.
    Last edited: Oct 27, 2013
  9. MattW

    MattW Well-Known Member

  10. Tracy Perry

    Tracy Perry Well-Known Member

    With 57 add-ons installed on one of my sites (node images in a spritesheet)
    With 60 add-ons installed on another (different server and node images not converted to sprite sheet yet)
    With 37 add-ons installed (same server as the first one and images not converted into sprite sheet)

    and a myBB site I have thrown if for fun

    Not using a CDN or cookie-less domain.
  11. p4guru

    p4guru Well-Known Member

    One of my private password protected xenforo forums with Centmin Mod Nginx and ngx_pagespeed enabled and Google SPDY SSL.

    VPS server is located in Atlanta but used same Vancouver, Canada test server as you folks for comparisons.

    Attached Files:

    dbembibre likes this.
  12. MattW

    MattW Well-Known Member

    I'm getting hit by showcase serving images and then scaling them down on the home page.

  13. motowebmaster

    motowebmaster Active Member

    Some time ago, I did try modpagespeed on a previous server and experienced extreme server utilization. There was some tweaking-related conversations, and updates from the Groups that I joined on the subject, but gave it up after a while. Today, it appears that many are trying the latest stable version and still killing their servers.


    This time around however, the experience is much different for me. My server is being utilized a bit more since modpagespeed was installed, but I'd call it more of a bump that a dramatic change. The theories for this aren't worth posting at the moment. This evening and tomorrow are the busiest times of the week for me, we'll see if I still have brain cells by then.

    When this site was on vb3, I had years to tweak templates and develop alternatives to improve performance - but I don't think any of us will have that luxury on Xenforo for a while, we're having too much fun :cool:

    My ad revenue has also improved since yesterday ;)
  14. TheComputerGuy

    TheComputerGuy Active Member

  15. Floren

    Floren Well-Known Member

    Do you have Facebook, Twitter, etc. enabled? I noticed that we get punished on score once enabled.
  16. p4guru

    p4guru Well-Known Member

    nah they're disabled.. replaced with static social icons and share urls .. much better ;) :D

    ngx_pagespeed enabled gains me a few points on scores ~3-7 pts
  17. motowebmaster

    motowebmaster Active Member

    I've been able to get it up to 98% on occasion, but have come up with some ideas on how to resolve a couple of the issues - which may buy me 0.2 seconds :rolleyes:
  18. Floren

    Floren Well-Known Member

    I'm very satisfied with my current site metrics, without ngx_pagespeed. :)
    If I disable the Facebook/Twitter links, it should score A/A.
  19. MattW

    MattW Well-Known Member

  20. HittingSmoke

    HittingSmoke Active Member

    Pagespeed does not significantly increase average server load as many are suggesting here. There are filters you can enable that significantly increase server load consistently. But in reality most of the filters optimize content then cache it and serve the optimized content from the cache on subsequent requests. You'll see a significant spike in server load when resources are first being called, optimized, then cached, but after a bit of time server load will level back out and you'll be saving throughput.

Share This Page