3 ms·
It is a really nice things, except IE doesn't implement them so yeah, kind of useless. It would be nice to say screw IE users but not everyone can do that.
by rdtsc 13y ago
It is a really nice things, except IE doesn't implement them so yeah, kind of useless.
It would be nice to say screw IE users but not everyone can do that.
- eknkc 13y agoHere's a polyfill: https://github.com/Yaffle/EventSource/ https://github.com/Yaffle/EventSource/ 2 issues; Last-Event-ID is not a header, but a querystring param. Needs 2kb of padding from server before any data. Looks pretty usable.
- dayjah 13y ago+1, SSE is great. We (Twitch) use it between systems in a few key cases since it is really easy to make a client for it if you find yourself in a language that doesn't already have it baked into their HTTP client offering. When it comes to browsers we've still not found a solution that is as solid as Flash sockets; though that could also be a bit of a hangover for us given our reliance on Flash and the subsequent tooling that we have around it.
- byroot 13y agoThey are very easy to shim with polling though.
- csears 13y agoSSE is listed as "under construction" on the IE roadmap: http://status.modern.ie/serversenteventseventsource http://status.modern.ie/serversenteventseventsource
- skybrian 13y ago"Under consideration" actually.
- elwell 13y agoThat was mentioned in the article, and some polyfills were given.
- imthatguyama 13y agoMS tried to look all hip and cool with IE10/11 and SSE didn't have much buzz around it so it wasn't implemented.