What does HTTP/2 improve over HTTP/1.1, and what more does HTTP/3 solve?
Short answer
HTTP/1.1 runs one request at a time per connection, so it suffers head-of-line blocking. HTTP/2 multiplexes many streams over one TCP connection; HTTP/3 runs over QUIC (UDP) to remove the remaining HOL at the TCP layer.
3 points to say:
- HTTP/1.1: text, one request at a time per connection; browsers open 6 connections per host and still hit HOL at the HTTP layer.
- HTTP/2: binary frames, multiplexing, HPACK header compression; but a lost TCP packet stalls every stream.
- HTTP/3: QUIC over UDP, faster handshake, keeps the connection when the network changes; server push is gone, use 103 Early Hints.
Keep reading the deep dive
Create a free account to read the full explanation and follow-up questions, mark questions as studied and review them on a schedule.