Maxim Dounin
January 21, 2010 04:52AM
Hello!

On Wed, Jan 20, 2010 at 10:59:40PM -0500, arianna wrote:

> ok...i didn't realize is was uncompressing a response on the
> fly... what i wanted was some variation on gzip_static that
> could take file.gz in the file system and use it to return
> compressed/or uncompressed data to the client. i guess i'm out
> of luck correct?

With "gzip_static always" patch you are able to return .gz even to
clients which doesn't support it.

With gunzip filter you are able to gunzip gzipped responses for
clients which doesn't support gzip.

When used together they allow exactly what you asked for - one .gz
file on filesystem, returned unmodified to clients which does
support gzip, uncompression on the fly for clients which
does not support gzip.

Maxim Dounin

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

gzip_static - any way to not have to store two files?

arianna January 20, 2010 07:43PM

Re: gzip_static - any way to not have to store two files?

Maxim Dounin January 20, 2010 09:00PM

Re: gzip_static - any way to not have to store two files?

arianna January 20, 2010 09:06PM

Re: gzip_static - any way to not have to store two files?

arianna January 20, 2010 10:59PM

Re: gzip_static - any way to not have to store two files?

Maxim Dounin January 21, 2010 04:52AM

Re: gzip_static - any way to not have to store two files?

arianna January 21, 2010 09:55AM

Re: gzip_static - any way to not have to store two files?

arianna January 21, 2010 12:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
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