The time-to-live (TTL) value in seconds. This determines how long the cache items should be retained
before it becomes eligible for automatic deletion due to expiration.
Max allowed value is 60 days in seconds, 5_184_000
;
Default value is 24 hours in seconds, 86_400
;
While a time-to-live (TTL) value can be set for cached objects, it's important to note that the expiration
of these objects is not guaranteed. The TTL serves as an indication of how long the objects will be considered valid,
but other factors such as cache eviction policies or system limitations can affect the actual expiration of objects in the cache.
If provided, determines where to store cache, default is CacheScope.InMemory
.
Generated using TypeDoc
If provided, determines where to fetch cache from, default is
CacheScope.Skill
. ForCacheType.InMemory
the scope will always beCacheScope.Skill
.