High-performance web apps using HTTP/2
summary
HTTP/2 replaces text with binary framing and uses multiplexing with one connection per origin so many requests load concurrently (demo: a small image page drops from ~13s on HTTP/1 to ~2s on HTTP/2); it adds HPACK header compression and server push (default max concurrent streams ≈100). Demos use Go, Caddy and Node/Express with Chrome net-internals; server push sometimes wastes bandwidth because servers re-push cached resources and many server implementations don’t suppress redundant pushes. Migration notes: upgrade CDNs, stop domain sharding, re-split bundles.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:40What is HTTP/2
- 6:36Binary protocol basics
- 11:33Multiplexing and head-of-line blocking
- 14:28HTTP/1 vs HTTP/2
- 17:27Header compression & server push
- 20:43Live demos
- 30:39Performance limits
- 37:49Code walkthrough
- 38:36Migration strategies
- 43:11Impact on performance
- 48:36Summary








