FREEFirst project with us? Your landing page design is on the house.See the offer

Glossary · Speed

What is Brotli?

By Abdul QuadirUpdated Nov 2026
Brotlinoun · Speed

Brotli is a compression method that shrinks text files such as HTML, CSS and JavaScript while they travel to the browser. It was developed by Google and often beats gzip on size.

Brotli is a compression method that shrinks text files such as HTML, CSS and JavaScript while they travel to the browser. It was developed by Google and often beats gzip on size.

Brotli, explained

The server compresses the file, and the browser unpacks it automatically. Visitors do not notice anything, apart from a faster page.

Browsers only ask for Brotli over HTTPS. If it is not available, gzip is the usual fallback, and servers can offer both.

Higher compression levels make smaller files but take longer. Static files can be compressed once ahead of time at a high level, while dynamic pages often use a lower level to save time.

Do not compress images, video or fonts in this way. Formats such as JPEG, WebP, MP4 and WOFF2 are already compressed, so there is little to gain.

In our work

How Kookies uses it

The hosts we use, such as Vercel and Webflow hosting, handle text compression, and we check the response headers during speed work.

FAQs

Brotli
questions.

Abdul Quadir
Still have a question?Ask us directly. We reply within a day.
Book a callPick a timehello@kookies.io

Open the network panel in your browser and look for content-encoding: br on a text file.

Brotli usually gives smaller files. Gzip is still a fine fallback.

Most modern hosts and CDNs do it for you. You may only need to set it up on your own server.

Your turn

Let's kook
what you krave.

Hi Kookies, I need a built on . I'd love to launch . Reach me at
or book a callSent. We reply within one working day.