GZIP problem with backend hosts

Alan Williamson alan at blog-city.com
Fri Aug 29 14:04:57 MSD 2008


Igor Sysoev wrote:
> On Fri, Aug 29, 2008 at 09:41:42AM +0100, Alan Williamson wrote:
> 
>> no one got anything input here?
>>
>> seems to be a fairly big failing in NGINX here.  Why would it spend 
>> extra time and resources decompressing outgoing content
> 
> nginx can not decompress proxied response.
> In your case probably backend sends uncompressed response.

okay so lets ask the question another way.

Scenario#1:
   Hit Backend#1 directly; get GZIP'd content

Scenario#2:
   Hit nginx which then proxies to Backend#1; get raw content


Soooo ... either ... nginx is decompressing, which you claim it is not, 
which leaves that nginx isn't passing on all the HTTP headers to the 
backend, including the all important:

   "Accept-Encoding: gzip,deflate"


?





More information about the nginx mailing list