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.

Prerequisites

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:

Notes

  • 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.

Resources

Learn more about HTTP2

Next steps

If you need help with improving your application's security, you can Book a Demo (free) to talk to a security engineer about your application security and compliance requirements. If you're ready to go, you can add the Expedited WAF add-on to your Heroku application in about 15 minutes.