Web Development
web
performance
compression
What is Brotli Compression?
Definition
Brotli is a compression algorithm developed by Google that provides 15-25% better compression ratios than gzip for web content. It is supported by all modern browsers via the Accept-Encoding: br header and is especially effective for text-based assets.
Why It Matters
Brotli reduces file sizes more than gzip, improving page load times and reducing bandwidth costs. CDNs like Cloudflare serve Brotli-compressed content automatically. It is the preferred compression for modern web applications.