Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Results of experimenting with Brotli for dynamic web content

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Vlad Krasnov
Word Count
3,301
Company Posts That Month
8
Language
English
Hacker News Points
11
Post removed?
No
Summary

The benchmarking results show that on average, Brotli at the maximal quality setting produces 1.19X smaller results than zlib at the maximal quality. However, for files smaller than 1KB the result is 1.38X smaller on average, a very impressive improvement, that can probably be attributed to the use of static dictionary. Compression speed-wise, Brotli at quality level 4 is slightly faster than zlib level 8 while having comparable compression ratio. However, most files are smaller than 64KB, and if we look only at those files then Brotli 4 is actually 1.48X slower than zlib level 8! For on-the-fly compression, the most important question is how much time to invest in compression to make data transfer faster. It seems that for files greater than 64KB, Brotli at quality setting 5 can speed up slow connections.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.