Google’s Brotli Data Compression Algorithm Can Make The Internet “A Lot Faster”


Short Bytes: Brotli is new open source data compression library developed by Google. Its lossless compress algorithm manages to outperform the current compression algorithms in use, namely, gzip, deflate, etc. Although it arrived in 2015, many famous web browsers like Chrome, Firefox, Opera has brought support for Brotli only since the last year.

Nowadays, the web pages aren’t limited to a few hundred kilobytes. We can find them filled with graphics-rich content – enabled HTML, CSS, Javascript – that’s visually appealing to our eyes. However, all of this comes at the cost of size. They can go up to a few megabytes in size. It increases the page load time on the web browser and also adds to the data bill.

Over the years, different compression techniques have been devised to reduce the data footprint of the websites. Named after the Spanish bun, Brotli (RFC 7932), an open source compression library, is an addition in the category of data compression algorithms used on the internet. According to Google, they have created a “whole new data format” capable of shrink and unshrinking data better than others.

Brotli is based on a combination of LZ77 algorithm, Huffman coding, and second-order context modeling. In comparison to the already popular gzip, Brotli’s lossless compression algorithm is capable of achieving additional compression of around 20%. It also outperforms its predecessor Zopfli by around 25%.

Also Read: ToaruOS 1.0 Open Source OS Released After 6+ Years Of Development

Developed by Google engineers Jyrki Alakuijala and Zoltán Szabadka, Brotli first came into existence in the year 2015. Initially, web fonts compression was the prime objective. Later, the open source library was enhanced for HTTP compression. Now, it’s mainly about HTTPS.

Brotli includes a speed advantage in the form of a pre-defined dictionary of words and phrases from various languages including English, Chinese, Spanish, Hindi, etc.

In the recent months, there has been an increase in the adoption of Brotli in different web browsers and servers. For example, Google Chrome, Mozilla Firefox, Opera, and servers Apache, ngix, etc. Apple Safari is yet to include the Brotli open source compression library.

Did you find Google’s Brotli data compression algorithm interesting? Drop your thoughts and feedback.

Bonus: 10 Best Ways To Destroy Your iPhone

Aditya Tiwari

Aditya Tiwari

Aditya likes to cover topics related to Microsoft, Windows 10, Apple Watch, and interesting gadgets. But when he is not working, you can find him binge-watching random videos on YouTube (after he has wasted an hour on Netflix trying to find a good show). Reach out at [email protected]
More From Fossbytes

Latest On Fossbytes

Find your dream job