The clients will send an "Accept-Encoding" header which includes "br" as
one of the accepted types, that will trigger the module if its configured.
It has a set of directives similar to the gzip module, so you'll need to
set those.

I think I see brotli support most from Chrome on Android.



On Thu, Sep 29, 2016 at 11:22 PM, Dewangga Bachrul Alam <
dewangg...@xtremenitro.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello!
>
> Is there any best practice or some example to see how brotli
> compression works? I've patch the nginx using ngx_brotli[1], but I
> didn't see any brotli header, there's only gzip.
>
> Many thanks.
>
> [1] https://github.com/cloudflare/ngx_brotli_module
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQI4BAEBCAAiBQJX7dqOGxxkZXdhbmdnYWJhQHh0cmVtZW5pdHJvLm9yZwAKCRDl
> f9IgoCjNcGSVD/41lF7vqx79KwIuWoaqUYZbGZ/XVByUHWdSnjHM/Ysd0mMU+Gyj
> uwmGfg4VifA56KO6hDBvptjmZ72Tg2NAz+6Sh7zQzFVuFHiv6gdM7/4nar7qNX8M
> BO1s7LHJsIybQUMwXHVa2tX/AUoaUsGCBgHidkeQU5Y2d0xFPKwNnET6un8vDu1/
> 5wF/iV7rXChXs4rATzwpbEM4ujbIU/FmWJDriOxHMSDTBkyCm2VYVENUYekbA6nq
> 15zjVULwQwC/eBrr4wOJoQ8h4wCNVoA7OyZ4gzkmvyMEyOWXt3BUqb2bYKPosZSm
> HsihxD0Vls/P0fXhAjf5+wSeBcpbU1636Ci4UT6wiieCdvu5Z9EI1MJTQSsZ9RFW
> GgxVg83Qcuq+H7HzF45/ksf0DNArd+X3/y5UvJTwBB7tcngmu+6fR9cpElsafNyA
> FiYvYKeERT4lRRKZ5CAQYVHChIZBEt3iW+HbWDll3Wsa80Q4aYyZk9eeCbmsA/pd
> Nzw+xrYaKetw8iDu3onxGwZ+oELFPHCYia/ulsXGC1GoAEwv12TloucPhiUFa3Pv
> KsbQo1WQC0xyzZMQK/I3BASdPFyDozF8zMpHYa/+bidBMEUV4hVio6r/B23lQhcp
> bf1r3u1bAvGKuSTB/jiIXwFWy1f1++Gg+pweFBUQppZ+dSuBmzS5TPg0Kg==
> =DR41
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to