Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: