Framework
CacheOptions
Options for the LRU cache wrapper.
| Property | Type | Description |
|---|
maxAge? | number | Maximum age of cache entries in milliseconds. Entries older than this are considered stale. Default: 0 (no expiration) |
maxSize? | number | Maximum number of entries in the cache. Default: 1000 |
trackStats? | boolean | Track cache statistics (hits, misses). Default: true |