browser - Does the per-host connection limit is raised with HTTP/2? -


browsers have per-host limit regarding number of parallel xhr (about 6 nowadays).

does restriction apply multiplexed http/2 connections?

browsers impose per-domain limit of 6-8 connections when using http/1.1, depending on browser implementation. allows @ 6-8 concurrent requests per domain.

with http/2, browsers open 1 connection per domain. however, multiplexing feature of http/2 protocol, number of concurrent requests per domain not limited 6-8, virtually unlimited.

it virtually unlimited in sense browsers , servers may limit number of concurrent requests via http/2 configuration parameter called settings_max_concurrent_streams.

typical limits around 100 (firefox's default value network.http.spdy.default-concurrent - note spdy name here: protocol ancestor of http/2 protocol) larger (or, less commonly, smaller), depending on browser implementation , on server connect to.

expect these limits vary on years evolution , more widespread usage of http/2 (in same way happened http/1.1: browsers started 2 connections, , ended 6-8 after years of usage, experience , tuning).

i don't think there difference between how browser treats number of connections , concurrent requests normal browsing , usage of xhr, explanations above holds true xhr well.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -