Join the community today
Register Now

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:
    6:47 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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:47 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    6:47 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.
     
    • Like Like x 1