Closed byewokko closed 2 months ago
closes #306
Client metadata are accessed frequently, but they don't change too often. It makes sense to cache them to lower the number of database requests.
Default cache expiration is 30 seconds, it can be configured using the following option:
[seacatauth:client] cache_expiration=5m
Expired cache entries are deleted every 10 minutes.
Cache is used only for get-client-detail calls, not for get-client-list.
closes #306
Client metadata are accessed frequently, but they don't change too often. It makes sense to cache them to lower the number of database requests.
Default cache expiration is 30 seconds, it can be configured using the following option:
Expired cache entries are deleted every 10 minutes.
Cache is used only for get-client-detail calls, not for get-client-list.