It seems that nginx never prefers zstd when https://github.com/google/ngx_brotli is also enabled (and brotli's --add-module is specified before zstd's one) and doesn't honor quality.
accept-encoding: br, zstd -> content-encoding: br (currently first-specified --add-module algorithm is preferred. add an option for default server-side algorithms order?)
accept-encoding: br;q=0.5, zstd;q=1.5 -> content-encoding: br (should be zstd)
accept-encoding: gzip;q=1.5, zstd;q=0.5 -> content-encoding: zstd (should be gzip)
It seems that nginx never prefers
zstd
when https://github.com/google/ngx_brotli is also enabled (and brotli's--add-module
is specified before zstd's one) and doesn't honor quality.accept-encoding: br, zstd -> content-encoding: br
(currently first-specified--add-module
algorithm is preferred. add an option for default server-side algorithms order?)accept-encoding: br;q=0.5, zstd;q=1.5 -> content-encoding: br
(should bezstd
)accept-encoding: gzip;q=1.5, zstd;q=0.5 -> content-encoding: zstd
(should begzip
)