Developer Ilya Grigorik from Google
reported good news on his blog: a modern Brotli web page compression algorithm will soon appear in the Chrome browser, which is 20-26% more efficient than the current Zopfli and 17-25% more efficient than gzip on standard web content (css, html, js, etc.). This is an open source algorithm developed by Google. It has already been implemented in Google Canary (you can activate it with the
chrome://flags#enable-brotli
flag), so after a couple of months it will appear in the default version of the browser. Will work only over https.
Presented two years ago,
Zopfli (
Deflate- compatible) was fairly widespread - from optimization of PNG to preprocessing web content - and positive feedback. The new
Brotli algorithm is based on a completely different
data format . That is why he has so much higher compression efficiency.
Google introduced Brotli
in September 2015 . At the same time, she published the
results of comparative testing of Brotli, Deflate, Zopfli, LZMA, LZHAM and Bzip2 on a set of 11
Canterbury files.
')
The ratio of compression and decompression rate
Next - comparative results on a sample of documents from the Internet (1285 HTML documents in 93 different languages).
The results showed that Brotli is almost as fast as the Deflate implementation in zlib. At the same time, it compresses slightly better than LZMA and bzip2.
Better compression means less disk space and faster loading of web pages - it saves traffic and saves battery power on mobile devices.
Google hopes that other browsers will support Brotli support.