Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimise nginx default gzip compression level when cloudflare zlib used
- Centmin Mod 123.09beta01 defaults to nginx compiles with cloudflare zlib performance library instead of standard zlib 1.2.11 library if you're using a 64bit cpu with SSE 4.2 and AES-NI support. If using cloudflare zlib libary, set the default gzip compression level higher instead of 5 set to 9 defaults as benchmarks show performance is still very high even with level 9 with cloudflare zlib library https://community.centminmod.com/posts/64167/ - If Cloudflare zlib library is disabled via CLOUDFLARE_ZLIBRESET='n' or auto disabled when non-64bit, non-SSE 4.2 or non-AES-NI supported cpu is detected, auto reset default nginx gzip compression level back from 9 to 5 when default new option is set CLOUDFLARE_ZLIBRESET='y'. If you do not want it to auto reset back to gzip level 9 compression, you can override this routine by setting in persistent config file /etc/centminmod/custom_config.inc the variable, CLOUDFLARE_ZLIBRESET='n' prior to recompiling nginx via centmin.sh menu option 4
- Loading branch information
Showing with 22 additions and 1 deletion.