Anyone know why brotli needs to be generated at the web server level? Just curious why/if it can't be done at the web app level.
https://github.com/eustas/ngx_brotli
The "filter" module operates totally within nginx, and behaves roughly how we're used to with gzip. The "static" module allows you compress files as part of your build and just serve them - but the server still needs to understand the relevant headers and how to deal with them.