Type Alias ThrottlingCacheMiddleware
ThrottlingCacheMiddleware: ((options?: ThrottlingCacheOptions) => ConfiguredMiddleware & { cache: Map<any, any>; inflight: Map<any, any>; throttling: Set<unknown>; cacheResponse(key: any,
response: any): void; })
Throttling cache middleware
A throttling cache which stores and serves server responses for a certain amount of time.
Options
milliseconds
(url, opts) => boolean
(url, opts) => string
(url, opts) => boolean
(url, opts) => string | RegExp | null
response => boolean
string