4 ms·
I would also recommend that you gzip any static assets and use http://wiki.nginx.org/HttpGzipStaticModule http://wiki.nginx.org/HttpGzipStaticModule to serve th
by morganpyne 15y ago
I would also recommend that you gzip any static assets and use http://wiki.nginx.org/HttpGzipStaticModule 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.
- jacques_chester 15y agoUsing this module and WP-supercache's gzipping feature has made a wordpress blog network I run astonishingly fast.
- JshWright 15y agoPerhaps 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.