I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource?
Asked
Active
Viewed 1,014 times
1 Answers
0
EventSource
should be fine with mod_proxy, since EventSource
is less complex in communications and runs on your Application layer (HTML), as long as you enable persistent connections (Keep Alives).
I've found a fair bit of issues with WebSockets over proxies, particularly over large corporate networks, which employ proxy routers that don't allow persistent connections, so you might find this may also have an impact for any live communication. A Comet
fallback (then AJAX polling) might be a good backup plan just in case.
If you're looking for a way to push live server events and only need the one-way communication, you should check out Pusher or some sort of polyfill for backward support. :)
Hope that helps.
Guy Park
- 101
- 2