News for hackers. Stuff that matters.
Re:Using CloudFlare to mix domain sharding and SPDY by moot on Friday December 27, 2013 @10:23AM (#6970906)
This reminds me that the domain wildcarding we do for thumbnails probably isn't necessary anymore thanks both to SPDY but mainly how many parallel connections browsers open these days...

We only do this on the imageboards though -- not the front page.

Re:Using CloudFlare to mix domain sharding and SPDY by spicyj on Friday December 27, 2013 @11:10AM (#6971150)
It's been good practice for years now to place static assets on a separate domain to reduce cookie traffic. In some cases, the website owner can't control which cookies are set on the root domain (e.g., Google Analytics sets cookies on the root, not on the subdomain the page is served from).

Doesn't sharing the root domain (jgc.org in this case) partially negate this advantage?

Re:Using CloudFlare to mix domain sharding and SPDY by cloudflare on Friday December 27, 2013 @11:17AM (#6971176)
Yes, but SPDY does compression of headers and so the same cookie being sent should be compressed.
Re:Using CloudFlare to mix domain sharding and SPDY by spicyj on Friday December 27, 2013 @11:23AM (#6971212)
On non-SPDY connections, it won't be, correct? Seems like the best approach might be to simply serve different static asset URLs based on User-Agent sniffing.
Re:Using CloudFlare to mix domain sharding and SPDY by moot on Friday December 27, 2013 @11:19AM (#6971190)
Re:Using CloudFlare to mix domain sharding and SPDY by kalmi10 on Friday December 27, 2013 @09:39AM (#6970725)
Can someone explain why one DNS lookup was enough?
Re:Using CloudFlare to mix domain sharding and SPDY by cloudflare on Friday December 27, 2013 @10:01AM (#6970797)
Re:Using CloudFlare to mix domain sharding and SPDY by kalmi10 on Friday December 27, 2013 @10:18AM (#6970873)
Interesting. Does this mean that Chrome actually issues those requests over that single SPDY connections on the assumption that it belongs there without first waiting for the confirmation from the DNS servers? (And then not using the corresponding responses until it gets the DNS confirmations?)
Re:Using CloudFlare to mix domain sharding and SPDY by laumars on Friday December 27, 2013 @09:51AM (#6970763)
One DNS lookup per domain name. And once you know the IP, there's little point looking it up again as it's not going to change in the milliseconds between HTTPS/SPDY requests.
Re:Using CloudFlare to mix domain sharding and SPDY by kalmi10 on Friday December 27, 2013 @02:29PM (#6972174)
from the article: "In Chrome there was only a single TCP connection and a single DNS lookup needed despite the presence of three domains."

See cloudflare's answer to my original question.