LogoRobo.js
Framework

CacheOptions

Interface: CacheOptions

Options for the LRU cache wrapper.

Properties

PropertyTypeDescription
maxAge?numberMaximum age of cache entries in milliseconds. Entries older than this are considered stale. Default: 0 (no expiration)
maxSize?numberMaximum number of entries in the cache. Default: 1000
trackStats?booleanTrack cache statistics (hits, misses). Default: true

On this page