~/talk

How GZIP compression works

Talkat JSConf EU 2014 · 2014-09-13..09-14· [web-performance, databases]
links:none on file
slides:none on file

Explains that GZIP uses DEFLATE = LZ77 + Huffman, compresses data in blocks with three modes (no compression, fixed Huffman, dynamic Huffman), and uses a 32 KB sliding window for LZ77 matches. Compares implementations: GNU gzip vs 7‑Zip vs zopfli — zopfli spends ~100× more time to gain ~5%, so use offline precompression for deploys. Shows preprocessing wins: transposing JSON and ordering attributes can cut sizes (one experiment reports ~17%).

AI-written summary · about

  1. 0:00Start
  2. 12:15HUFFMAN CODING
  3. 12:50BLOCKS
  4. 14:36IMPLEMENTATIONS
  5. 19:53TRANSPOSING JSON
  6. 21:24XML/HTML ATTRIBUTES ORDER
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.