import { type CacheManagerOptions } from "https://deno.land/x/oak_nest@v1.14.2/modules/cache/src/cache.interface.ts";
Interface defining Cache Manager configuration options.
Properties
Cache storage manager. Default is 'memory'
(in-memory store). See
Different stores
for more info.
Time to live - amount of time in seconds that a response is cached before it is deleted. Subsequent request will call through the route handler and refresh the cache. Defaults to 5 seconds.
optional
policy: CachePolicyThis options will be used to configure the cache-control header.