5 ms·
> just use SSE And then the user opens your website in a handful of tabs, and everything breaks because having enough open SSE connections blocks ordinary http
by CodesInChaos 1mo ago
> just use SSE
And then the user opens your website in a handful of tabs, and everything breaks because having enough open SSE connections blocks ordinary http requests to that origin.
You can avoid that by using a shared worker for all your tabs, but then you lose the simplicity advantage.
- formerly_proven 1mo agoThis is only true if the browser is connecting via HTTP/1.1, then you get the six connections per origin limit. Relevant for localhost:8000 though.