CacheOptions
Interface | Source Code
Properties
Section titled “Properties”entryLifetimeMs?: number
Section titled “entryLifetimeMs?: number”How long entries to this cache should live before being considered invalid.
If a value is provided for the lifetime when calling set, that
lifetime takes precedence over this one.