SharedResponseCacheOptions
Options for SharedResponseCache.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { SharedResponseCacheOptions } from "@mapcairn/core";
interface SharedResponseCacheOptions
Properties
maxEntries
readonly maxEntries?: number;
How many fresh responses to keep. Defaults to 16; the oldest goes first.
now
readonly now: () => number;
The clock, as epoch milliseconds. Core never reads the clock itself.