News for hackers. Stuff that matters.
Re:You might not need a WebSocket by pornel on Thursday July 10, 2014 @01:00PM (#8015742)
Server-Sent Events have quicker handshake, send events down just as fast as WebSockets, and automatically reconnect (so works like WebSocket on stable connection, long polling on unstable).
Re:You might not need a WebSocket by swah on Thursday July 10, 2014 @01:10PM (#8015812)
You're probably asnwering my other comment? Thanks for the info anyway.
Re:You might not need a WebSocket by mzs on Thursday July 10, 2014 @01:30PM (#8015936)
SSE also works across all proxies, which even if you are on a stable connection you might have a transparent proxy that borks websockets, so that's at least one reason to prefer SSE over websockets on a stable connection. A work around then is to use wss: instead.