import { type CacheManagerOptions } from "https://deno.land/x/deno_nest@v3.4.0/modules/cache/mod.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.