Brotli compression
Brotli is a general-purpose lossless compression algorithm. It compresses data using a combination of a modern variant of the Lempel-Ziv coding LZ77 algorithm, Huffman coding, and second-order context modeling, providing a compression ratio comparable to the best currently available general-purpose compression methods.
Brotli provides better compression ratios than gzip, and speeds that are comparable to deflate. However brotli compression is slower than Gzip compression, so gzip may be a better option when compressing non-cacheable content.
Brotli is compatible with most modern browsers, but you may want to consider a fallback.
See also
- Related glossary terms:
- brotli.org
- Brotli GitHub repository
- RFC 7932: Brotli Compressed Data Format
- Brotli on Wikipedia
- Brotli on Caniuse