How BunnyCDN shredded the size of your text files by 10-20% with Brotli

Introduction

News Performance

How BunnyCDN shredded the size of your text files by 10-20% with Brotli

Posted by Dejan Grofelnik Pelzel on .
Featured

How BunnyCDN shredded the size of your text files by 10-20% with Brotli

Posted on .

We have been silently testing the "new" Brotli compression format to see its effect on performance and bandwidth savings. After a few weeks, we are happy to announce that we are seeing anywhere from 10-20% improvements in the compression algorithm compared to gzip.

BunnyCDN Adds Brotli

What exactly is Brotli?

For those who do not know, Brotli is a new compression protocol designed to replace the old Gzip protocol developed way back in 1992. It greatly improves the compression capabilities of its predecessor, especially for larger files and it is already supported by all major web browsers.

The downside of Brotli is that it sacrifices its performance to achieve better compression. As with Gzip, Brotli comes with different compression levels. After many tests and benchmarks, we've managed to find the perfect sweet spot that doesn't hog the CPU, yet offers an average of 10-20% improvement.

What does this mean for you?

As a user of BunnyCDN, this mainly means two things: improved performance and lower monthly bandwidth bill. By reducing the size of the request, not only will you be charged less, but your users will have less data download, meaning your website will load even faster, so it's a win-win situation. The best part is that this is all done automatically. Any type of text encoded static file served by BunnyCDN such as JavaScript and CSS is now 10-20% smaller than before.

Dejan Grofelnik Pelzel

Dejan Grofelnik Pelzel

https://bunnycdn.com

The founder of BunnyCDN. An expert in networking, servers and development. Makes sure things are always running fast and smooth.

View Comments...

BunnyCDN Blog

Performance tips, updates, tricks and insights into our Content Delivery Network.

Categories