<example><title>Compress only a few types</title>
<highlight language="config">
- AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
- </highlight>
+AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
+ </highlight>
</example>
</section>
filter depends on the <code>User-Agent</code>, you should add:</p>
<highlight language="config">
- Header append Vary User-Agent
+Header append Vary User-Agent
</highlight>
<p>If your decision about compression depends on other information
<example><title>Example</title>
<highlight language="config">
- Header set Vary *
- </highlight>
+Header set Vary *
+ </highlight>
</example>
</section>
<example><title>Example</title>
<highlight language="config">
- BrotliFilterNote ratio
+BrotliFilterNote ratio
- LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' brotli
- CustomLog "logs/brotli_log" brotli
- </highlight>
+LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' brotli
+CustomLog "logs/brotli_log" brotli
+ </highlight>
</example>
<p>If you want to extract more accurate values from your logs, you
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' brotli
CustomLog "logs/brotli_log" brotli
-</highlight>
+ </highlight>
</example>
</usage>
<seealso><module>mod_log_config</module></seealso>