6 ms·
+1 HTML5 SSE. They fit in with REST, aren't an extra protocol, and are way easier to debug when compared to websockets. An important addition to your recommend
by nailer 11y ago
+1 HTML5 SSE. They fit in with REST, aren't an extra protocol, and are way easier to debug when compared to websockets.
An important addition to your recommendations: make sure you disable gzip on the SSE route, or at least flush the gzip otherwise it won't send.
- tehbeard 11y agoWhy do I have the feeling this is why I encountered weird delays with data when we tried SSE.
- nailer 11y agoProbably. SSE either just works, or blood starts coming out your nose because you've had a stroke debugging why hello world doesn't work, in which case: you have gzip turned on.