interface CacheOptions

Options for request caching.

Properties

maxAge?: number

The maximum age of a cached item in seconds.

Default: 12 * 60 * 60 (12 hours)

maxEntries?: number

The maximum number of entries in the cache.

Default: 250