add support for Brotli
Maybe add support for the compression algorithm brotli could be added to nginx next to GZIP. Brotli is supposed to offer better compression than gzip especially for static content. Its supported by by both firefox and chrome see caniuse.com and created by Google, they also offer a nginx module ngx_brotli.
Good addition!
This might interest someone: https://github.com/tlovett1/brotli-nginx-php7-config/blob/master/nginx.conf
also we should keep in mind that the compressing data with brotli is generally slower than gzip but it could off course be cached somewhere.
@aegis123 compressing data with brotli is generally slower
According to google whitepaper, it is even faster (less cpu) then gzip! I would love an Brotli integration
This sounds like a great experimental, enabled per-site addition until we see how it performs!
I'm particularly interested in the code @tlovett1 is working on with PHP7 and Nginx support. The fact that Google is behind it to improve site speed is, of course, another plus! ;)
We are switching to https://openresty.org/ so adding support for https://github.com/google/ngx_brotli is something we wont be doing anytime soon.
@rahul286 https://github.com/brandonpapworth/docker-openresty/pull/6/files
@renatonascalves
https://github.com/brandonpapworth/docker-openresty isn't official openresty build. Already no activity on it from a year.
If openresty itself adds support for it, we will consider it.
Too bad... hope this request can be moved upstream then :)
@rahul286 Understood! Totally reasonable. Thank you. :)
We are leaving this to external contributors