diff --git a/src/docs/markdown/caddyfile/directives/encode.md b/src/docs/markdown/caddyfile/directives/encode.md index 410bd86..f16668a 100644 --- a/src/docs/markdown/caddyfile/directives/encode.md +++ b/src/docs/markdown/caddyfile/directives/encode.md @@ -19,7 +19,7 @@ Encodes responses using the configured encoding(s). A typical use for encoding i encode [] { # encoding formats gzip [] - zstd + zstd [] minimum_length @@ -35,9 +35,9 @@ encode [] { - **<formats...>** is the list of encoding formats to enable. If multiple encodings are enabled, the encoding is chosen based the request's Accept-Encoding header; if the client has no strong preference (q-factor), then the first supported encoding is used. -- **gzip** enables Gzip compression, optionally at the specified level. +- **gzip** enables Gzip compression, optionally at a specified level. -- **zstd** enables Zstandard compression. +- **zstd** enables Zstandard compression, optionally at a specified level (possible values = default, fastest, better, best). The default compression level is roughly equivalent to the default Zstandard mode (level 3). - **minimum_length** the minimum number of bytes a response should have to be encoded (default: 512).