NETLEARN
Lesson 02Application

HTTP/2 Multiplexing

HTTP/1.1 asks one at a time. Slow. HTTP/2 splits the conversation into many small "streams" that travel in parallel over the same wire. This material is about why modern sites feel light.

Layer
Layer 7 · Application, port 443
Reference
RFC 7540 / RFC 9113
Steps
6
Clientbrowser
Serverorigin + CDN
legendrequestcontrolresponsecautionmessage in flight

Common misunderstandings

  • Multiplexing does not remove head-of-line blocking at the TCP layer. That is the doorway to QUIC/HTTP/3.

Key notes

Integer stream
Odd streams are opened by the client, even ones by the server. They never collide.
HPACK
Headers are compressed and cached in a table, so they are not sent repeatedly.
Push (and its demise)
HTTP/2 server push is barely used. HTTP/3 even removed it from the standard.
HTTPS required
Some browsers enable HTTP/2 only over TLS.