Welcome! Log In Create A New Profile

Advanced

Re: how nginx deal with gzipped responses when gzip is on

July 13, 2017 09:26PM
Hi!

NGINX will check the Content-Encoding header, so if this header exists,
gzip filter will be bypassed.


On 14 July 2017 at 02:39:07, foxgab (nginx-forum@forum.nginx.org) wrote:

i configred nginx with gzip directives:
http {
gzip on;
gzip_types text/css application/javascript;
gzip_comp_level 9;
gzip_http_version 1.0;
gzip_proxied any;
}

some upstream servers have already gzipped the response, i see the lengh of
the respense is similar to that send from nginx to client, i'm very curious
to know if nginx just bypassed that response, zipped again or
unzipped&rezipped it.

Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275479,275479#msg-275479

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how nginx deal with gzipped responses when gzip is on

foxgab July 13, 2017 02:38PM

Re: how nginx deal with gzipped responses when gzip is on

tokers July 13, 2017 09:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready