Web Compression: How to (Re)Take Control?
summary
Explains HTTP response compression on the web, comparing gzip and Brotli algorithms, showing how servers and browsers negotiate compressed content, and demonstrating common mistakes (compressing already-compressed formats, on-the-fly compression of static files, forgetting to enable compression). Presents compression concepts, size/efficiency trade-offs, demos and practical tips to improve website performance.
AI-written summary · about
chapters (20)
- 0:00Web compression intro
- 1:06Why compression is essential
- 3:13Minification vs compression
- 4:16Minification size gains
- 6:02Compression load time impact
- 7:26Demo: compressing a real page
- 8:49Compression needed in 2024?
- 10:14How HTTP compression works
- 13:04Browser parsing and rendering
- 16:16Compression history 1950-1992
- 18:28Huffman coding explained
- 23:50LZ77 algorithm and repetition
- 29:08Algorithm evolution: LZ77, LZ78
- 31:36Deflate format explained
- 32:38Decrypting a GZIP file
- 39:37Modern optimizations: Zopfli, Brotli, Zstd
- 45:30Choosing compression algorithms
- 46:33Avoid compressing compressed files
- 47:39New formats: Zstandard and shared compression
- 49:25Best practices recap
related talks
47mWeb Compression: How to (Re)Take Control?
03mWhen small is better: Brotli compression in a real case
46mNot Only Gzip
42mHoney, I Shrunk the Bits. Or how modern HTTP compression works.
15mBeyond Gzipping
36mBreaking The Bloat: Achieving The Fastest Navigations on The Web
52mCompression Dictionaries
47mMake the Web Faster
