On Wed, Mar 16, 2016 at 7:26 AM, Greg <[email protected]> wrote: > Don't forget about EventSource / Server Sent Events. > > Browser support: http://caniuse.com/#search=eventsource > There are polyfills for IE/Edge: https://github.com/Yaffle/EventSource > (there are other mentioned in README.md) > > The advantage over websockets is that it uses plain http connection, just > long lived and managed by the browser itself (do not mistake it for long > polling). That means it should not be affected by firewalls.
We ended up having to use a combination of technologies for all the browsers we need to support. So we use * Periodic & Long Polling: Just HTTP(S) so works in all browsers across all intermediaries. See https://github.com/realityforge/gwt-webpoller * EventSource / Server Sent Events: Faster than polling, works in a lot of browsers. See https://github.com/realityforge/gwt-eventsource * Web Sockets: Fastest and easiest to use programatically but least compatible. See https://github.com/realityforge/gwt-websockets HTH, Peter Donald -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
