docs: ttl overriding info

This commit is contained in:
Hazork 2021-09-23 07:51:29 -03:00
parent 9b02b20884
commit 2b5ff84038

View File

@ -32,6 +32,10 @@ export type CacheProperties = {
/**
* The time until the cached value is expired in milliseconds.
*
* When using `interpretHeader: true`, this value will only
* be used if the interpreter can't determine their TTL value
* to override this
*
* **Note**: a custom storage implementation may not respect this.
*
* @default 1000 * 60 * 5 // 5 Minutes