Y
Hacker News
new
|
ask
|
show
|
jobs
by
sooheon
427 days ago
To clarify, dealing with spotty connection / offline mode is not possible with this kind of approach?
2 comments
andriusbartulis
426 days ago
Offline mode - not possible.
Spotty connection - no problem, SSE reconnects.
link
realharo
426 days ago
Reconnects
eventually
when things time out, but in the meantime, there will be a lot of frustrated waiting.
link
andersmurphy
426 days ago
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.
link
andersmurphy
426 days ago
Also because of the compression being used the game runs fine on 3G connections.
link
Spotty connection - no problem, SSE reconnects.