Skip to content

Commit 60ef2f5

Browse files
committed
Add noCompressionEncodings http config docs
1 parent 468fa4d commit 60ef2f5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

webapps/docs/config/http.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,20 @@
468468
defaults to <code>512</code> bytes. </p>
469469
</attribute>
470470

471+
<attribute name="noCompressionEncodings" requried="false">
472+
<p>A comma-separated list of content encodings that indicate
473+
already-compressed content. When the response already has a
474+
<code>Content-Encoding</code> header with one of these values, compression
475+
will not be applied to prevent double compression. This attribute is only
476+
used if <strong>compression</strong> is set to <code>on</code> or
477+
<code>force</code>.</p>
478+
<p>If not specified, the default values is
479+
<code>br,compress,dcb,dcz,deflate,gzip,pack2000-gzip,zstd</code>, which
480+
includes all commonly used compression algorithms. This can be customized
481+
to support custom compression algorithms when using a custom
482+
<code>outputFilterFactory</code>.</p>
483+
</attribute>
484+
471485
<attribute name="connectionLinger" required="false">
472486
<p>The number of seconds during which the sockets used by this
473487
<strong>Connector</strong> will linger when they are closed. The default

0 commit comments

Comments
 (0)