How To Enable Brotli Compression on Heroku

What is Brotli Compression

Data sent across the internet is often compressed to improve how fast it can be transferred. Brotli is an modern compression method that improves upon prior compression formats like gzip.


What you need to get started:

  1. Expedited WAF add-on is setup in front of your application.

How To Enable Brotli Compression on Heroku

Enable Brotli compression from the Site Speed Up page of your Expedited WAF dashboard:


  • Expedited WAF compresses the connection from client (browser) to our Edge Network CDN - this reduces both the the geographic distance that data must be served from but also improves that transmission with compression.


Learn more about HTTP2