I agree. Unfortunately you can only have 6 SSE streams per origin per browser instance, so you may be limited to 6 tabs without adding extra complexity on the client side.
edit: From the article:
To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection.
No, if you can enable TLS and HTTP/2|3, you are only technically using a single browser connection, onto which multiple logical connections can be multiplexed.
I think the article calls this out. There is still a limit on the number of logical connections, but it's an order of magnitude larger.
Edit: of course you could use: https://caniuse.com/sharedworkers but android does not support it. We migrated to the lib because safari took its time⦠so mobile was/is not a thing for us
Yes, but the limit is different (usually much higher) and negotiated, up to maximum SETTINGS_MAX_CONCURRENT_STREAMS (which is fixed at 100 in Chrome, and apparently less in IOS/Safari.)
TheP1000|1 year ago
edit: From the article: To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection.
gorjusborg|1 year ago
I think the article calls this out. There is still a limit on the number of logical connections, but it's an order of magnitude larger.
ravxx|1 year ago
simonw|1 year ago
paulddraper|1 year ago
For HTTP 1, simply shard the domain.
andrewmutz|1 year ago
xialvjun|1 year ago
nine_k|1 year ago
merb|1 year ago
Edit: of course you could use: https://caniuse.com/sharedworkers but android does not support it. We migrated to the lib because safari took its time⦠so mobile was/is not a thing for us
simonw|1 year ago
hobobaggins|1 year ago
cassepipe|1 year ago