Open binaryfire opened 8 months ago
@eustas? @PiotrSikora? Anyone?
1) Brotli filter doesn't recompress responses, see: https://github.com/google/ngx_brotli/blob/a71f9312c2deb28875acc7bacfdd5695a111aa53/filter/ngx_http_brotli_filter_module.c#L281-L285
2) gzip_proxied
applies to proxied requests (clients), not proxied responses (backends).
Hi guys
Would it be possible to add some information to the readme re: how this module deals with reverse proxied content? Specifically:
If the upstream content is already compressed with Brotli, does this module decompress+recompress the content or does it pass it through unmodified? Hopefully the latter since I'm trying to avoid unnecessary costly compression steps.
Is there anything we need to configure differently when dealing with proxied backends? There doesn't seem to be a
brotli_proxied
directive (similar togzip_proxied
).I've spent quite a while searching for answers to this but there's very little info out there. Could someone help? I think covering it in the readme would help a lot of people.