I'm using socket.io, if I use a SPDY server for my app would socket.io / websockets still work?
Thanks.
SPDY is basically a variation of HTTP/S that accelerates web page load time. WebSockets is not HTTP (even though it has an HTTP compatible initial handshake). They are unrelated (except that they both address web latency) and they are compatible. Your SPDY enabled web server may not support forwarding of WebSockets connections, but you can always run your WebSockets server standalone on a different port if that is the case.
There is work in progress to enable WebSockets over SPDY. Chrome currently has an experimental flag for this: --enable-websocket-over-spdy
. To track latest progress and status on this, checkout the spdy-dev discussions on google groups.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With