SPDY increasing size of pages
steve willing
eiji-gravion at hotmail.com
Mon Aug 6 17:43:32 UTC 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120807/3a01f564/attachment-0001.html>
More information about the nginx-devel
mailing list