ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.22k stars 397 forks source link

Long polling is outdated #212

Open devgianlu opened 5 years ago

devgianlu commented 5 years ago

As observed by myself and some users of my app, the connection to the server is a bit wonky, especially when using a mobile connection. I'd say that's quite contributed by the way events are forwarded to the client. Long polling has been proved to be a lot less efficient that Websockets.

Here are my ideas to solve this:

devgianlu commented 5 years ago

Just noticed this isn't possible due to a check on the user IP.