Repository navigation
examples: add brotli - #16873
examples: add brotli#16873
Conversation
|
@daixiang0 ive marked this as draft as there are quite a few fairly obvious problems with it - and ci is broke please mark as "ready for review" when you have fixed ci and done a thorough review yourself |
rojkov
left a comment
There was a problem hiding this comment.
Nice!
Also it could be useful to mention that having two generic compressor filters in one filter chain with different compressor libraries, but otherwise identical, is a possibility too (to serve requests like Accept-Encoding: gzip;q=0.5, br).
There was a problem hiding this comment.
Hmm... in hindsight this doesn't look like a good idea after all. The example config contains only one compression filter per filter chain and mentioning gzip in this context may confuse readers. Better drop these lines.
Requests with Accept-Encoding: gzip;q=0.5, br could be illustrative for setups featuring more than one compression filter in a filter chain.
There was a problem hiding this comment.
these examples should be as simple as possible and provide an isolated setup that is exemplary of what is being shown
i think in this case we just want the br accept-encoding header
There was a problem hiding this comment.
sorry for force push :(
Signed-off-by: Long Dai <[email protected]>
Signed-off-by: Long Dai <[email protected]>
Signed-off-by: Long Dai <[email protected]>
phlax
left a comment
There was a problem hiding this comment.
One small nit - otherwise lgtm
Really nice work - thankyou very much @daixiang0
|
/wait |
Signed-off-by: Long Dai <[email protected]>
Signed-off-by: Long Dai <[email protected]>
Signed-off-by: Long Dai [email protected]
Commit Message:
Add brotli example.
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fixes #16747
[Optional Deprecated:]
[Optional API Considerations:]