src/http/modules/ngx_http_gzip_filter_module.c tuning

Igor Sysoev is at rambler-co.ru
Sun Dec 10 16:12:57 MSK 2006


On Sun, 10 Dec 2006, Aleksandar Lazic wrote:

> On Son 10.12.2006 13:45, Igor Sysoev wrote:
>> On Sun, 10 Dec 2006, Aleksandar Lazic wrote:
>> 
>>> On Son 10.12.2006 13:37, Igor Sysoev wrote:
>>>> On Sun, 10 Dec 2006, Aleksandar Lazic wrote:
>>>> 
>>>>> The backend which was used is Mongrel latest stable.
>>>> 
>>>> Can Mongrel compress by itself ?
>>> 
>>> I don't know I will look or maybe someone on this list know this?
>> 
>> If you run debug log you may see
>> 1) ab2 request version (1.0 vs 1.1),
>
> http request line: "GET /proxy-test HTTP/1.0"
>
> It's 1.0.
>
>> 2) Mongrel response header (has it "Content-Encondig: gzip").
>
> Nope.
>
> ---
> *1 http proxy status 0 "200 OK"
> *1 http proxy header: "Connection: close"
> *1 http proxy header: "Date: Sat, 09 Dec 2006 22:20:09 GMT"
> *1 http proxy header: "Set-Cookie: 
> _session_id=aca012bc6c4935104f906d8c9b94e332; path=/"
> *1 http proxy header: "Status: 200 OK"
> *1 http proxy header: "Cache-Control: no-cache"
> *1 http proxy header: "Server: Mongrel 0.3.13.4"
> *1 http proxy header: "Content-Type: text/html; charset=UTF-8"
> *1 http proxy header: "Content-Length: 19266"
> *1 http proxy header done
> ---
>
> Ok for know it looks to me that mongrel don't send content compressed.

So, it's strange, nginx does not compress in second case:

Server Software:        nginx/0.5.0 (with compression level 2)
Requests per second:    17.70 [#/sec] (mean)

Server Software:        nginx/0.5.0
Requests per second:    12.63 [#/sec] (mean)


Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list