Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx Can gzip be replaced?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by ModeltogTossen, Jan 27, 2016.

  1. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    1:56 PM
    1.9.12
    10.0.23
    Hi everyone..

    Noop time and one question..

    In the centminmod nginx.conf I see this:


    Code:
            gzip on;
            gzip_vary   on;
            gzip_disable "MSIE [1-6]\.";
            gzip_static on;
            gzip_min_length   1400;
            gzip_buffers      32 8k;
            gzip_http_version 1.0;
            gzip_comp_level 5;
            gzip_proxied    any;
            gzip_types text/plain text/css text/xml application/javascript application/x-javascript application/xml application/xml+rss application/ecmascript application/json image/sv$
    
    Can this be replaced with something better? - I do use the options to make those multithreaded compressions tools. So can for example pigz be using in nginx instead of gzip?

    Thanks in advance.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    1:56 PM
    1.9.12
    10.0.23
    I actually have be reading those post - but I think I will have to wait.. Most of my users is mostly 'the somewhat' older generation adults. They don't update their desktop alot ;-( - so I don't think I will gain alot with brotli for the time being.. I will test for sure later on.

    I stick with gzip for now. Thanks @eva2000 for getting back to me.