AuthorTopic: mod_brotli sample configuration (Read 1331 times)

Thanks to Evgeny Kotkov of Apache's Subversion Project, Apache 2.4.26 has a new inline compression module (mod_brotli) using Google's new Brotli compression library. We did not include any configuration sample for it so I'm posting one here.

This configuration uses brotli compression for browsers that have it (ltest Chrome and Firefox) and falls back to gzip (deflate) for browsers that don't and is the minimum to make it work. There are other options for both mod_brotli and mod_deflate for logging, compression quality, window, block size and others on it's documentation page, very similar to mod_deflate.

bro.exe has also been included with our distribution which is a command line application that will compress/uncompress files. This could be used to serve Brotli pre-compressed content for speed and lessen CPU usage when serving files.