Why it matters
HTTP/2 is the current web standard. Understanding it explains modern web performance and enables tuning.
Advertisement
The architecture
Binary framing: replaces text-based HTTP/1.1. Frames are efficient to parse.
Multiplexing: many streams over one TCP connection. No connection-per-request.
Advertisement
How it works end to end
Streams: each request/response is a stream. Streams can be prioritized.
HPACK: header compression via dynamic table. Reduces overhead.
Server push: server proactively pushes resources client will need. Rarely used in practice.
Multiplexing benefit: hundreds of concurrent requests without TCP setup per request.