Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To clarify, dealing with spotty connection / offline mode is not possible with this kind of approach?


Offline mode - not possible.

Spotty connection - no problem, SSE reconnects.


Reconnects eventually when things time out, but in the meantime, there will be a lot of frustrated waiting.


In my experience it reconnects faster and more reliably than web sockets. Also nothing is stopping you telling the user the connection is down/retrying etc.


Also because of the compression being used the game runs fine on 3G connections.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: