npm install
npm start
- Open http://localhost:8081/example/
Browsers limit the number of HTTP connections with the same domain name.
This restriction is defined in the HTTP specification (RFC2616).
Most modern browsers allow 6 connections per domain.
Most older browsers allow only two connections per domain.
You cannot make HTTP requests anymore, if you open 6 SSE connections to one domain.
- Intercept SSE requests using Service Worker
- Open only one SSE connection from SW to server for unique url
- Forward data from server to browser tabs