Welcome! Log In Create A New Profile

Advanced

Re: SPDY increasing size of pages

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

I just did some tests: the logs reported 33KB on a .html file that's 805
bytes. After refreshing it said 2.4KB, and after another refresh it
claimed 1.1KB. For the record: gzip was disabled and with spdy disabled
it reported 805 bytes like it should.

Then I looked at the response headers on the requests, which always
mentioned 805 bytes on all responses, even with SPDY enabled.

Conclusion: there's no massive network overhead, the counter is simply
broken.

Tom



Op 8/6/12 7:43 PM, steve willing schreef:
> Hello,
>
> After enabling SPDY, I noticed that every element that loads on my site is larger (in bytes) than without SPDY.
>
> This includes all elements, images, css, js and html.
>
> Some log snippets below.
>
> spdy disabled:
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:01:53:27 -0400] "GET / HTTP/1.1" 200 1836 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:01:53:27 -0400] "GET /style.css HTTP/1.1" 200 761 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:01:53:27 -0400] "GET /images/banner.jpg HTTP/1.1" 200 66445 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:01:53:27 -0400] "GET /images/background.png HTTP/1.1" 200 235 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:01:53:27 -0400] "GET /images/menu.gif HTTP/1.1" 200 262 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
>
> spdy disabled (cached):
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:14:31 -0400] "GET / HTTP/1.1" 200 1836 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:14:31 -0400] "GET /style.css HTTP/1.1" 304 0 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:14:31 -0400] "GET /images/banner.jpg HTTP/1.1" 304 0 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
>
> spdy enabled:
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:06:28 -0400] "GET / HTTP/1.1" 200 3142 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:06:28 -0400] "GET /style.css HTTP/1.1" 200 2699 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:06:29 -0400] "GET /images/background.png HTTP/1.1" 200 251 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:06:29 -0400] "GET /images/menu.gif HTTP/1.1" 200 278 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:06:29 -0400] "GET /images/banner.jpg HTTP/1.1" 200 67288 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
>
> spdy enabled (cached):
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:08:48 -0400] "GET / HTTP/1.1" 200 3742 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:08:48 -0400] "GET /style.css HTTP/1.1" 304 4295 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> TLSv1.1 ECDHE-RSA-RC4-SHA 10.0.0.1 - - [05/Aug/2012:02:08:48 -0400] "GET /images/banner.jpg HTTP/1.1" 304 68333 "https://127.0.0.1/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1"
> Notice how even when cached (304 not modified) it shows the bytes being even *larger* than the non-cached version.
> I should also note that I have tested this in the latest version of Chrome and Firefox, both have the same results.
> Thanks
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

_______________________________________________
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 1079 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 1119 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 959 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: 265
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