Welcome to Centmin Mod Community
Register Now

Master Branch optimise nginx default gzip compression level when cloudflare zlib used

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 20, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:05 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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

    Continue reading...

    Centmin Mod Github Master branch


    Master branch is where most recent commits are made as at May 24, 2015.