4 ms·
Am I missing their explanation of how a SPDY-capable client and server discover and make use of SPDY instead of HTTP? For this to take hold in the wild, it has
by shimon 17y ago
Am I missing their explanation of how a SPDY-capable client and server discover and make use of SPDY instead of HTTP?
For this to take hold in the wild, it has to be possible for me to run a combined HTTP+SPDY server, and for a client connecting to it to automatically make use of SPDY if it is capable. This must happen without user intervention (i.e. we don't expect people to type spdy:// instead of http:// http://).
It seems like this should be possible. Perhaps there could be a special server response that instantly "upgrades" a TCP session from HTTP into SPDY. But I'm not seeing anything about that in the docs; is this part of the SPDY plan (yet)?
- shykes 17y agoYou could browse to the page the regular way, then load a Javascript or Flash library which would use SPDY for all further communications. In your typical web app the user experience could be visibly improved. You can already do this with Flash today, and it would be much easier for Google to push it into the DOM than to touch the transport protocol.
- drusenko 17y agoI'm missing how javascript has the abilities to touch the transport layer in such a fundamental way -- could you explain?
- shykes 17y agoIt doesn't - but one could imagine adding support for raw sockets in the DOM. It's easier to change things at the document level rather than at the discovery and transport level.
- wmf 17y agoHTTP supports protocol upgrades although this has never been used in the wild.
- teej 17y agoThis is merely the spec doc for the DVD. The combo VHS-DVD players will come next.
- deleted 17y ago[deleted]
- agl 17y agoYou can read the code for the precise details, but we'll be using both an HTTP upgrade and a TLS extension. But all this is still experimental.
- ams6110 17y agoWouldn't spdy capable browsers declare this capability so the server could immediately redirect to spdy:// those clients that support the protocol?
- devicenull 17y agoYou could easily just have the server send an additional HTTP header for all it's responses. Old clients would ignore it, and new ones could detect it and start the SPDY session.