Want to subscribe to topics you're interested in?
Become a Member

Beta Branch enable nginx brotli module on Intel Skylake & newer cpus in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 4, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    7:43 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    enable nginx brotli module on Intel Skylake & newer cpus in 123.09beta01

    Auto enable nginx brotli module if Intel Skylake or newer cpus exist newer cpus allow brotli compressed nginx files to be served faster Beta Branch - Testing GCC 8 & Clang 5/6/7 compiler for Centmin Mod Nginx & PHP-FPM. Using cpu avx512 flag as an indicator of whether Intel Skylake or newer cpu is detected. When detected, Centmin Mod initial install routine will automatically enable Nginx brotli module as a dynamic Nginx module and via NGINX_BROTLIDEP_UPDATE='y', automatically modify Nginx brotli module to use the latest tagged version of Google Brotli rather than the version included in Nginx brotli module as that version lags behind the versions available for Google Brotli.

    The 3 variables enabled when avx512 cpu flag is detected are
    Code (Text):

    These variables can still be overriden on subsequent nginx recompiles or if set before initial install via the persistent config file /etc/centminmod/custom_config.inc

    Code (Text):
    brotli --version
    brotli 1.0.7

    Continue reading...

    123.09beta01 branch