Welcome! Log In Create A New Profile

Advanced

Re: Compression with Caching

Maxim Dounin
September 01, 2014 05:42AM
Hello!

On Mon, Sep 01, 2014 at 03:20:23AM -0400, nginxsantos wrote:

> Any thoughts on this?

As you already found out, nginx stores responses as got from the
backend server. If you want to store compressed responses - they
have to be returned compressed by the upstream. If your upstream
server doesn't do this - you can add an additional proxy layer
(e.g., in the same nginx instance) to do this.

Note though, that if you'll store compressed responses in the
cache, you'll have to take care of uncompressing them as
appropriate for clients which doesn't support compression (gunzip
module can do this, see http://nginx.org/r/gunzip).

--
Maxim Dounin
http://nginx.org/

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

Compression with Caching

nginxsantos August 27, 2014 08:01AM

Re: Compression with Caching

nginxsantos September 01, 2014 03:20AM

Re: Compression with Caching

Maxim Dounin September 01, 2014 05:42AM

Re: Compression with Caching

BrĂ¡ulio Bhavamitra September 01, 2014 08:08AM

Re: Compression with Caching

Reinis Rozitis September 01, 2014 08:20AM

Re: Compression with Caching

Patrick Laimbock September 01, 2014 08:26AM

Re: Compression with Caching

BrĂ¡ulio Bhavamitra September 01, 2014 08:36AM

Re: Compression with Caching

nginxsantos September 02, 2014 03:12AM



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