Brotli vs. Gzip: The Modest Gain

Harry Roberts has published real-world figures comparing no compression, Gzip, and Brotli, and the headline is that most of the win comes from compressing at all.

Per Roberts, the gap between uncompressed and Gzip is large, while the gap between Gzip and Brotli is much smaller:

Gzip made files 72% smaller than not compressing them at all, but Brotli only saved us an additional 5.7% over that. In terms of FCP, Gzip gave us a 23% improvement when compared to using nothing at all, but Brotli only gained us an extra 3.5% on top of that.

His conclusion follows from those numbers: moving from nothing to Gzip will be noticeable to users, but upgrading from Gzip to Brotli may be less impressive.

Roberts still considers the extra few points worth taking, especially when enabling Brotli amounts to flipping a switch in Cloudflare.