Adds option to enable compression of webserver responses

This commit is contained in:
Trenton H
2023-02-06 09:35:34 -08:00
parent e36d46f0df
commit e6681ad450
6 changed files with 185 additions and 19 deletions

View File

@@ -758,6 +758,18 @@ should be a valid crontab(5) expression describing when to run.
Defaults to `30 0 * * sun` or Sunday at 30 minutes past midnight.
`PAPERLESS_ENABLE_COMPRESSION=<bool>`
: Enables compression of the responses from the webserver.
: Defaults to 0, disabling compression.
!!! note
If you are using a proxy such as nginx, it is likely more efficient
to enable compression in your proxy configuration rather than
the webserver
## Polling {#polling}
`PAPERLESS_CONSUMER_POLLING=<num>`