News for hackers. Stuff that matters.
Re:A 40KB Optimization Saved Us 50TB of Bandwidth by mmastrac on Thursday October 15, 2020 @02:06PM (#24791684)
> 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.

Re:A 40KB Optimization Saved Us 50TB of Bandwidth by baptistejamin on Thursday October 15, 2020 @02:09PM (#24791715)
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.