heroku / heroku-buildpack-nginx

Run NGINX in a Heroku app
244 stars 786 forks source link

Enable Brotli compression #109

Open RicoFactset opened 1 year ago

RicoFactset commented 1 year ago

Hi,

Would you consider adding the Google Brotli extension for Nginx to the buildpack?

Reference: https://github.com/google/ngx_brotli

Serving brotli compressed files reduce transfer size for HTML, CSS, JS and SVG files better than with GZIP, but not JPG, PNG, WebP, GIFs etc. (binary files). So both (GZIP and Brotli) should be available.

Thank you! Rico

RicoFactset commented 1 year ago

See also: https://github.com/heroku/heroku-buildpack-php/issues/356

ghusse commented 1 year ago

I'm also interested!