Welcome! Log In Create A New Profile

Advanced

Re: SPDY increasing size of pages

Tom van der Woerdt
August 08, 2012 06:48AM
Op 8/8/12 12:40 PM, Valentin V. Bartenev schreef:
> On Wednesday 08 August 2012 14:14:07 Tom van der Woerdt wrote:
>> Quick tests show that my 805 byte file became a 813 byte response, which
>> seems consistent with the 8 byte header of a DATA frame.
>>
>> Question: do we really need to include that into the size? Just like the
>> response headers aren't counted, why should the protocol overhead be
>> counted
> This is how it is in nginx now. For example, if a response has been sent over
> HTTP with chunked transfer encoding, the $body_bytes_sent also will not equal
> to payload size.
>
> Personally I do not really agree with that, but it should be discussed and
> changed globally.
Ah, didn't know that.

>> Note: after refreshing the server responded with a 304 Not Modified but
>> it did log it as 813 bytes. Once I disabled SPDY, it logged a 0-byte
>> response. Both responses came without a content-length header so I am
>> assuming that the server didn't actually send a response body and this
>> too is a counting issue.
>>
> Strange. How do you found out that it responded with 304 Not Modified?
That's what the logs say, and Firebug confirms it.

SPDY disabled: <ip> - tom [08/Aug/2012:12:42:38 +0200] "GET /home
HTTP/1.1" 304 0 "-" "<user agent>" "-"
SPDY enabled: <ip> - tom [08/Aug/2012:12:44:03 +0200] "GET /home
HTTP/1.1" 304 813 "-" "<user agent>" "-"

Both resulted in a 304 Not Modified.

Tom

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

SPDY increasing size of pages

eiji-gravion 2861 August 06, 2012 01:44PM

Re: SPDY increasing size of pages

Tom van der Woerdt 1080 August 06, 2012 01:56PM

Re: SPDY increasing size of pages

Valentin V. Bartenev 942 August 06, 2012 06:56PM

RE: SPDY increasing size of pages

eiji-gravion 1120 August 08, 2012 04:10AM

Re: SPDY increasing size of pages

Valentin V. Bartenev 901 August 08, 2012 05:56AM

Re: SPDY increasing size of pages

Tom van der Woerdt 1028 August 08, 2012 06:16AM

Re: SPDY increasing size of pages

Valentin V. Bartenev 885 August 08, 2012 06:42AM

Re: SPDY increasing size of pages

Tom van der Woerdt 1022 August 08, 2012 06:48AM

Re: SPDY increasing size of pages

VBart 1198 August 08, 2012 06:18PM

Re: SPDY increasing size of pages

Tom van der Woerdt 1036 August 09, 2012 04:48AM

Re: SPDY increasing size of pages

Piotr Sikora 960 August 08, 2012 06:52AM

Re: SPDY increasing size of pages

Maxim Dounin 1050 August 08, 2012 09:32AM

Re: SPDY increasing size of pages

Piotr Sikora 808 August 10, 2012 06:40AM

Re: SPDY increasing size of pages

VBart 1226 August 10, 2012 09:04AM

Re: SPDY increasing size of pages

Piotr Sikora 1053 August 10, 2012 11:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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