Brotli Compressor
Note
This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.
Tip
This extension extends and can be used with the following extension category:
[extensions.compression.brotli.compressor.v3.Brotli proto]
quality
() Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
encoder_mode
window_bits
(UInt32Value) Value from 10 to 24 that represents the base two logarithmic of the compressor’s window size. Larger window results in better compression at the expense of memory usage. The default is 18. For more details about this parameter, please refer to brotli manual:
input_block_bits
(UInt32Value) Value from 16 to 24 that represents the base two logarithmic of the compressor’s input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual:
chunk_size
(UInt32Value) Value for compressor’s next output buffer. If not set, defaults to 4096.
disable_literal_context_modeling
() If true, disables “literal context modeling” format feature. This flag is a “decoding-speed vs compression ratio” trade-off.
Enum extensions.compression.brotli.compressor.v3.Brotli.EncoderMode
DEFAULT
(DEFAULT)
GENERIC
TEXT
FONT