Brotli module for NGINX, including the encoder
C
Latest commit 7df1e38 Sep 28, 2016 @vkrasnov vkrasnov committed on GitHub Merge pull request #8 from cloudflare/vlad/update_brotli_encoder
Update the module to use the new C encoder
Permalink
Failed to load latest commit information.
brotli @ a9f2344 Update the module to use the new C encoder Sep 28, 2016
.gitignore Brtoli NGINX module Oct 7, 2015
.gitmodules Update the module to use the new C encoder Sep 28, 2016
LICENSE.md Add NGINX license Oct 7, 2015
README.md Update the module to use the new C encoder Sep 28, 2016
config Update the module to use the new C encoder Sep 28, 2016
config.make
ngx_http_brotli_filter_module.c Update the module to use the new C encoder Sep 28, 2016

README.md

ngx_brotli_module

This NGINX module enables the brotli compression for Accept-Encoding:"br".

Brotli is a recent compression format developed by Google.

https://tools.ietf.org/html/rfc7932

Use the "--add-module=" when configuring NGINX to enable the module.

Config options:

brotli on/off - enable the module. When brotli is enabled, it takes precendence over gzip if Accept-Encoding has both gzip and brotli. brotli_comp_level num - the compression level used 1-11 brotli_min_length num - the minimal size of the resource to be compressed. Brotli will compress only resources larger than this value. If it is smaller it will let gzip to compress.

Currently tested only on Linux.