Brotli is an open-source, lossless compression algorithm introduced by Google in 2015.
What is Brotli?
The name of the algorithm comes from the Swiss pastry Spanisch Brötli.
The algorithm utilizes a dictionary already built into users’ browsers that consists of almost 100,000 commonly used phrases and word fragments on the web. Due to this, it is possible to reduce the size of the files being processed.
How content compressed with Brotli is delivered
In this case, an uncompressed version of a file is taken from the origin, then it is compressed on the CDN side and distributed to users whose browsers support Brotli compression.
Learn more about compression on CDN.
Data types that can be compressed with Brotli on CDN:
Browsers that support Brotli
Brotli works for 9 out of 10 Internet users because it is supported by almost all Chromium-based browsers: Chrome, Opera, Firefox, Yandex.Browser, and others.
Advantages of Brotli
Brotli is 20 to 26 percent more efficient than Zopfli and 20 percent better than Gzip in terms of compressing HTML, CSS, and jаvascript files.
The new algorithm reduces bandwidth consumption and helps load content faster. Speeding up a webpage’s loading time isn’t the only advantage.
Brotli also helps reduce transmitted traffic and conserves the battery power of mobile devices.
How to activate Brotli
By default, this option is disabled. To enable it, open “Advanced settings”, find the “Content” section, and click “Add option”.
Select the desired option and save the changes.
The minimum size of a file that can be compressed is 128 bytes.
This feature is free, but it can only be used when origin shielding is enabled (additional protection against high load is available for €45 per web resource).
Learn more about the costs of additional CDN features.
Please note that upon activation, compression is performed using origin shielding. If no precache server is used for the resource, compression is not performed even if the option is enabled.
To enable the “Origin Shielding” option, contact technical support.