X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fconfig.md;h=270d7fceab761e93e3a12fb7956b03e2a12eb712;hb=409e701ab849475c81073d80a973487d67cadaae;hp=29a4d4c9722f9c85e370e53e6c7ef94ac3db6ef3;hpb=c3f00447afc67b460e63b531e4f2432bfaa37bdb;p=akkoma diff --git a/docs/config.md b/docs/config.md index 29a4d4c97..270d7fcea 100644 --- a/docs/config.md +++ b/docs/config.md @@ -744,3 +744,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).