Welcome! Log In Create A New Profile

Advanced

Re: SPDY increasing size of pages

Valentin V. Bartenev
August 08, 2012 06:42AM
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.

> 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?

wbr, Valentin V. Bartenev

_______________________________________________
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 2865 August 06, 2012 01:44PM

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

RE: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

VBart 1202 August 08, 2012 06:18PM

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

Piotr Sikora 963 August 08, 2012 06:52AM

Re: SPDY increasing size of pages

Maxim Dounin 1053 August 08, 2012 09:32AM

Re: SPDY increasing size of pages

Piotr Sikora 812 August 10, 2012 06:40AM

Re: SPDY increasing size of pages

VBart 1229 August 10, 2012 09:04AM

Re: SPDY increasing size of pages

Piotr Sikora 1056 August 10, 2012 11:10PM



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

Online Users

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