HTTP/2, One Frame At A Time
summary
Node.js code that uses tls-keygen and the nghttp2/http2 APIs builds a working HTTP/2 server and client and demonstrates HTTP/2 push by preloading a bundled CSS into the browser cache. The talk shows concrete internals: frame-based streams multiplex many concurrent streams over one TCP connection, header compression via HPACK Huffman with header reuse/DELTA to cut the typical 500–800 byte header overhead, stream weights for prioritization, and window-update flow control; the demo runs and the pushed CSS appears in the browser.
AI-written summary · about
chapters (10)
- 0:00Introduction to HTTP/2
- 1:37HTTP/1 vs HTTP/2
- 2:52Key HTTP/2 Concepts
- 5:57Connection and Negotiation
- 7:50Header Compression
- 10:36Node.js Implementation
- 12:21Streams and Prioritization
- 15:24Flow Control in Node.js
- 17:37HTTP/2 Server Push
- 21:27Future Trends and Summary








