Hacker News new | ask | show | jobs
by mmastrac 2116 days ago
> Vendored libraries should be built with special optimizations as to remove unused code, for instance Socket.IO which we use to establish a RTM messaging connection to our servers contains a legacy HTTP long-polling connection method — that is quite heavy! — though we only need to use the WebSocket connection method with today's modern browsers;

I guarantee that they are going to get burned by a middlebox down the road that breaks websockets.

1 comments

We are enforcing websocket since 4 years now and not using long polling since. It works really great as it is widely supported.

We removed polling from SocketIO because it was just useless since 4 years.