News for hackers. Stuff that matters.
Re:Back to basics: Why we chose long-polling over websockets by CharlieDigital on Sunday January 05, 2025 @07:16AM (#42601293)
Not sure about the default `EventSource` object in JavaScript, but the Microsoft polyfill that I use (https://github.com/Azure/fetch-event-source) supports `POST` and there's an option `openWhenHidden` which controls how it reacts to users tabbing away.

There are no comments on this comment yet.