Discover Centmin Mod today
Register Now

Featured Nginx How to use Brotli compression for Centmin Mod Nginx web servers

Discussion in 'Centmin Mod User Tutorials & Guides' started by eva2000, Mar 6, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    Update: February 5, 2019. Centmin Mod 123.09beta01 and newer branches now 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 - enable nginx brotli module on Intel Skylake & newer cpus in 123.09beta01 :)

    Code (Text):
    brotli --version
    brotli 1.0.7
    



     
  2. rdan

    rdan Premium Member Premium Member

    5,126
    1,276
    113
    May 25, 2014
    Ratings:
    +1,953
    Local Time:
    6:30 AM
    Mainline
    10.2
    Merged back to [google/ngx_brotli](eustas/ngx_brotli).
     
  3. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    thanks for heads up just updated 123.09beta01 to use original ngx_brotli github repo again

     
  4. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
  5. upgrade81

    upgrade81 Premium Member Premium Member

    280
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +29
    Local Time:
    11:30 PM
    1.17
    10.3
    have they finally solved the problem that plagued 90% of my VMs?
    many times Nginx went 100% already discussed on the forum...
     
  6. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    test and see :)
     
  7. rdan

    rdan Premium Member Premium Member

    5,126
    1,276
    113
    May 25, 2014
    Ratings:
    +1,953
    Local Time:
    6:30 AM
    Mainline
    10.2
    For my small server and small site, I just want to generate .gz files as I don't have brotli enabled, is it possible with this script? Thanks.
     
  8. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    not possible as the script tries to install brotli command line binary if it doesn't exist
     
  9. rdan

    rdan Premium Member Premium Member

    5,126
    1,276
    113
    May 25, 2014
    Ratings:
    +1,953
    Local Time:
    6:30 AM
    Mainline
    10.2
    Can this also support woff2/woff font files?
     
  10. eva2000

    eva2000 Administrator Staff Member

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    WOFF/WOFF2 font files are already compressed. You don't want to do double compression on them :)

    Reduce WebFont Size