CacheStoreSetOptions


interface CacheStoreSetOptions<T> {
  ttl?: ((value: T) => number) | number
}

Properties

Property Description
ttl?: ((value: T) => number) | number

Time to live - amount of time in seconds that a response is cached before it is deleted. Defaults based on your cache manager settings.