Skip to content

Comment on Optimizing Nginx for High Traffic Loads

Comments

I would also recommend that you gzip any static assets and use http://wiki.nginx.org/HttpGzipStaticModule to serve these pre-gzipped files.

No point in re-compressing the same files over and over again. I normally gzip all static assets as part of the deployment process.

Perhaps even more importantly than not recompressing... If Nginx is reading gzipped files, rather than full size files, it reduces the pressure on filesystem cache. This increases the odds that the system won't have to go to the disk to find the requested resource.

Using this module and WP-supercache's gzipping feature has made a wordpress blog network I run astonishingly fast.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.