nginx pagespeed or nginx concat module ?

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 ?
http://wiki.nginx.org/HttpConcatModule
 
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.

YMMV.
 
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.
 
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:
@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:
With 40 add-ons installed

With 57 add-ons installed on one of my sites (node images in a spritesheet)
http://gtmetrix.com/reports/sayapple.com/s0vppLh1
With 60 add-ons installed on another (different server and node images not converted to sprite sheet yet)
http://gtmetrix.com/reports/twowheeldemon.com/1mvMURtF
With 37 add-ons installed (same server as the first one and images not converted into sprite sheet)
http://gtmetrix.com/reports/mustangbit.com/VB2LDVkQ

and a myBB site I have thrown if for fun
http://gtmetrix.com/reports/servinglinux.com/uC85lqQO

Not using a CDN or cookie-less domain.
 
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.
 

Attachments

  • gtmetrix-xenforo-centminmod-ngxpagespeed-spdy.webp
    gtmetrix-xenforo-centminmod-ngxpagespeed-spdy.webp
    31.8 KB · Views: 18
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.

http://gtmetrix.com/reports/www.r3owners.net/QeEW8wUw

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 ;)
 
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.
Do you have Facebook, Twitter, etc. enabled? I noticed that we get punished on score once enabled.
 
Do you have Facebook, Twitter, etc. enabled? I noticed that we get punished on score once enabled.
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
 
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:
 
I'm very satisfied with my current site metrics, without ngx_pagespeed. :)
If I disable the Facebook/Twitter links, it should score A/A.
 
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.
 
Top Bottom