Brotli compression in react-apps with Nginx
Brotli compression in react-apps with Nginx

What it is, why do we need it, and how to implement it.

What is Brotli?

Brotli is a compression algorithm and it’s been developed by Google and serves best for text compression. Nowadays it is supported by all major browsers.

Brotli is a data format specification for data streams compressed with a specific combination of the general-purpose LZ77 lossless compression algorithm, Huffman coding and 2nd order context modelling. Brotli is a compression algorithm developed by Google and works best for text compression.

Why do we need it exactly?

Most of the companies are customer-centric and they know what user experience means. So, brotli will provide performance improvements to the overall user experiences for the webpack powered website.

According to a study

Anshuman Lawania

Software Engineer, Sendinblue

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store