Discussion in 'Server Configuration and Hosting' started by RoldanLT, Jan 8, 2014.
Is it worth it?
How is the memory before and after using ngx_pagespeed?
I try it remove it, it was a huge resource hog. You can do everything that pagespeed does yourself, this is useful for hosts that want to standardize their shared accounts and ensure users don't do crazy things.
Floren you mean resource hog as in disk space of the larger resulting binary size for Nginx or you mean cpu and memory resources ?
ngx_pagespeed does take up resources from my experience but that is expected as it's the price of faster page loading speed - there's no free lunch
but it was hardly a resource hog
but yes you can do some of ngx_pagespeed's optimisations manually too
This is my own experience: The nginx binary turned to be 4MB instead of 700KB. Also it used 3 times more memory, that's what I mean by resource hog. In my tests, I did not notice any speed improvements... maybe because my server is pretty optimized already. I talked to @digitalpoint about this and he also said he will not use it as everything pagespeed does can be done easy, directly into XenForo. I agree with his opinion, it is pointless.
I've tried hundreds of config tweaks for it on my fairly low traffic forum and it always results in the end conclusion that it breaks parts of xenforo. Sometimes only after several days nginx uptime, sometimes only for certain users, but the cause is always ngx_pagespeed.
Might be worth another try when it comes out of beta, but for now I wouldn't recommend it with XenForo. Any other website/web app I've tried it with hasn't had any issues that weren't directly attributable to a certain filter.
As for resource usage, once the cache settles down (i.e. it stops resampling images) nginx cpu usage is only slightly higher. RAM-wise, you need to allocate a gigabyte or so of tmpfs space to it.
It is being used right now on http://www.v6mustang.com/ for a couple of months now with no issues.
Thanks for your inputs, I myself using it on my Live Forum without any issues.
I think it's not beta release anymore: https://github.com/pagespeed/ngx_pagespeed
May I know what filters did you enable?
Separate names with a comma.