Slide 199
Slide 199 text
Brotli/Zopfli Compression
Strategy
• Compared to gzip, Brotli is significantly slower at
compressing data, but provides much better savings.
— Pre-compress static assets with Brotli+Gzip at the highest level,
— Compress (dynamic) HTML on the fly with Brotli at level 1–4.
— Check for Brotli support on CDNs (KeyCDN, CDN77, Fastly).
— Server handles content negotiation for Brotli or gzip.
— Use Zopfli if you can’t install/maintain Brotli on the server.
“Results of experimenting with Brotli for dynamic web content”, https://blog.cloudflare.com/results-experimenting-brotli/,
Tim Kadlec, “Understanding Brotli's Potential”, https://blogs.akamai.com/2016/02/understanding-brotlis-potential.html,
“Static site implosion with Brotli and Gzip”, https://www.voorhoede.nl/en/blog/static-site-implosion-with-brotli-and-gzip/
“Current state of Brotli compression”, https://samsaffron.com/archive/2016/06/15/the-current-state-of-brotli-compression