Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Here’s the rub: when you put CSS (a static resource) on a cookieless domain, you incur an additional DNS lookup and TCP connection before you start downloading it. Even worse, if your site is served over HTTPS you spend another 1-2 round trips on TLS negotiation

Unless you're using SPDY, using a different domain doesn't add any more TLS overhead than using the same domain, right? I didn't think that browsers reuse connections to the same server.



>Unless you're using SPDY, using a different domain doesn't add any more TLS overhead than using the same domain, right? I didn't think that browsers reuse connections to the same server.

This isn't new to SPDY: HTTP/1.1 has keep-alive.


You're right, I was confusing keep-alive with pipelining, which browsers typically don't support.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: