cache
Configuration for the cache service
struct: Config
cache_size int 50000
Maximum number of authentication outcomes kept in memory. [Ref]
[auth.cache]
cache_size = 50000cache_ttl int 300
Seconds an accepted credential stays cached. An entry always expires at min(TTL, expiration of the credential). A negative value disables the cache. [Ref]
[auth.cache]
cache_ttl = 300negative_cache_ttl int 30
Seconds a rejected credential stays cached. [Ref]
[auth.cache]
negative_cache_ttl = 30