Learn about Centmin Mod LEMP Stack today
Become a Member

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

    44,804
    10,217
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,835
    Local Time:
    8:38 PM
    Nginx 1.17.x
    MariaDB 5.5/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 Well-Known Member

    4,963
    1,184
    113
    May 25, 2014
    Ratings:
    +1,798
    Local Time:
    6:38 PM
    Mainline
    10.2
    Merged back to [google/ngx_brotli](eustas/ngx_brotli).
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,804
    10,217
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,835
    Local Time:
    8:38 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    thanks for heads up just updated 123.09beta01 to use original ngx_brotli github repo again

     
  4. eva2000

    eva2000 Administrator Staff Member

    44,804
    10,217
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,835
    Local Time:
    8:38 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  5. upgrade81

    upgrade81 Premium Member Premium Member

    266
    16
    18
    Sep 5, 2016
    Italy
    Ratings:
    +27
    Local Time:
    12:38 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

    44,804
    10,217
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,835
    Local Time:
    8:38 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    test and see :)
     
  7. rdan

    rdan Well-Known Member

    4,963
    1,184
    113
    May 25, 2014
    Ratings:
    +1,798
    Local Time:
    6:38 PM
    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

    44,804
    10,217
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,835
    Local Time:
    8:38 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    not possible as the script tries to install brotli command line binary if it doesn't exist