Google chrome will be updated to utilize the Brotli compression scheme, but only for HTTPS connections.
According to Google, Brotli is a whole new data format. that provides 20–26% higher compression ratios over the Zopfli scheme introduced two years ago. In a study ‘Comparison of Brotli, Deflate, Zopfli, LZMA, LZHAM and Bzip2 Compression Algorithms, the authors show that Brotli is roughly as fast as zlib’s Deflate implementation. At the same time, it compresses slightly more densely than LZMA and bzip2 on the Canterbury corpus. The higher data density is achieved by a 2nd order context modeling, re-use of entropy codes, larger memory window of past data and joint distribution codes. Just like Zopfli, the new algorithm is named after Swiss bakery products. Brötli means ‘small bread’ in Swiss German.
Advantages:
-
Brotli outperforms gzip for typical web assets (e.g. css, html, js) by 17–25 %.
-
Brotli -11 density compared to gzip -9:
-
html (multi-language corpus): 25 % savings
-
js (alexa top 10k): 17 % savings
-
minified js (alexa top 10k): 17 % savings
-
css (alexa top 10k): 20 % savings
Check out the GigHub repository: https://github.com/google/brotli/ and white paper.
Leave a Reply