Search code examples
compressionbrotli

How do I implement Brotli compression in Apache?


I read about Broli compression and thought I might as well look into supporting it.

A recent(ish) article that I read mentioned a .br file - so will it be as easy as putting an index.br file alongside my index.html file? Or will supporting it mean recompiling Apache?


Solution

  • Here is a quite nice guide how to add support for pre compressed static content to apache with fall-back to gzip

    https://lyncd.com/2015/11/brotli-support-apache/