Welcome! Log In Create A New Profile

Advanced

Re: Gzip compression not working with pages served through memcached

Maxim Dounin
April 11, 2012 05:28PM
Hello!

On Wed, Apr 11, 2012 at 11:17:46AM -0400, jaynyc wrote:

> Hi,
>
> I'm trying to set up nginx so that it serves entire pages from
> memcached. If it can't find the requested URI in memcached, it proxies
> the request to Apache (running on port 8080 on the same server). It
> seems to work so far, the only problem being that gzip compression does
> not work for pages served through memcached. Also, I'm using Ubuntu 11.

[...]

> default_type "text/html; charset=utf-8";
> source_charset utf-8;
> charset utf-8;

Use

default_type text/html;
charset utf-8;

instead. Your attempt to put charset into default_type confuses
gzip_types matching and gzip isn't activated as it thinks response
content type isn't listed in gzip_types.

Maxim Dounin

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

Gzip compression not working with pages served through memcached

jaynyc April 11, 2012 11:17AM

Re: Gzip compression not working with pages served through memcached

Maxim Dounin April 11, 2012 05:28PM

Re: Gzip compression not working with pages served through memcached

jaynyc April 12, 2012 11:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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