mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Explicitly mention which resources support compression in the config guide (#13221)
This commit is contained in:
parent
583f22780f
commit
24ef1460f6
2 changed files with 3 additions and 1 deletions
1
changelog.d/13221.doc
Normal file
1
changelog.d/13221.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Document which HTTP resources support gzip compression.
|
|
@ -486,7 +486,8 @@ Sub-options for each listener include:
|
|||
|
||||
* `names`: a list of names of HTTP resources. See below for a list of valid resource names.
|
||||
|
||||
* `compress`: set to true to enable HTTP compression for this resource.
|
||||
* `compress`: set to true to enable gzip compression on HTTP bodies for this resource. This is currently only supported with the
|
||||
`client`, `consent` and `metrics` resources.
|
||||
|
||||
* `additional_resources`: Only valid for an 'http' listener. A map of
|
||||
additional endpoints which should be loaded via dynamic modules.
|
||||
|
|
Loading…
Reference in a new issue