Welcome! Log In Create A New Profile

Advanced

SPDY increasing size of pages

August 06, 2012 01:44PM
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
Subject Author Views Posted

SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

RE: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

VBart 963 August 08, 2012 06:18PM

Re: SPDY increasing size of pages

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

Re: SPDY increasing size of pages

Piotr Sikora 785 August 08, 2012 06:52AM

Re: SPDY increasing size of pages

Maxim Dounin 864 August 08, 2012 09:32AM

Re: SPDY increasing size of pages

Piotr Sikora 621 August 10, 2012 06:40AM

Re: SPDY increasing size of pages

VBart 980 August 10, 2012 09:04AM

Re: SPDY increasing size of pages

Piotr Sikora 883 August 10, 2012 11:10PM



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

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready