diff options
author | minibikini <egor@kislitsyn.com> | 2019-09-09 18:53:08 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2019-09-09 18:53:08 +0000 |
commit | 11e12b5761bcd67aa609d91f6f8d1f6755b2312b (patch) | |
tree | ca875c111e886b051385250811115284f88d1628 /docs/config.md | |
parent | bce16f455743c3a6603fb5d2d81c4e8200b38494 (diff) | |
download | pleroma-11e12b5761bcd67aa609d91f6f8d1f6755b2312b.tar.gz |
Add Pleroma.Plugs.Cache
Diffstat (limited to 'docs/config.md')
-rw-r--r-- | docs/config.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index 7a8819c91..9136532e0 100644 --- a/docs/config.md +++ b/docs/config.md @@ -690,3 +690,12 @@ Supported rate limiters: * `:relation_id_action` for actions on relation with a specific user (follow, unfollow) * `:statuses_actions` for create / delete / fav / unfav / reblog / unreblog actions on any statuses * `:status_id_action` for fav / unfav or reblog / unreblog actions on the same status by the same user + +## :web_cache_ttl + +The expiration time for the web responses cache. Values should be in milliseconds or `nil` to disable expiration. + +Available caches: + +* `:activity_pub` - activity pub routes (except question activities). Defaults to `nil` (no expiration). +* `:activity_pub_question` - activity pub routes (question activities). Defaults to `30_000` (30 seconds). |