OptionalclientInjected ioredis-compatible client (bypasses lazy import).
OptionalcommandBound on one Redis command, in milliseconds (store 'redis' only;
ignored by 'memory' and 'noop'). Default 15000; 0 disables it.
A paused or partitioned server keeps its socket open, so without a bound
a command waits forever; with it the command REJECTS, the cache call is
counted failed, and the caller sees the error. Applied as ioredis
commandTimeout to the client the store builds — never to an injected
client, which keeps its own configuration. A value outside 0–
2147483647 (including NaN) throws RangeError at construction.
OptionaldefaultDefault TTL in seconds when set omits ttlSeconds.
OptionalmaxMaximum entry count for MemoryStore LRU eviction.
OptionalprefixKey prefix applied to all cache keys.
OptionalurlRedis connection URL (used when store is 'redis').
Options for creating a cache store backend.
Since
0.1.0