A Redis-backed store implementation for Distribucache, an auto-repopulating cache library. Version 6.0.2 is the latest stable release (as of 2024), with infrequent updates. It wraps ioredis for Redis connectivity and supports keyspace notifications for distributed cache population. Differentiates from generic Redis caches by integrating with Distribucache's stale/populate/pause-populate lifecycle.
npm install distribucache-redis-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Redis-backed Distribucache store, configure it with ioredis options, and set up an auto-repopulating cache with stale/populate timers.
Use import (or require('pkg').default in CJS).Pass config object instead of ioredis instance. ioredis is created internally.
Set `isPreconfigured: true` in config and manually set notify-keyspace-events to 'Kx' in AWS console.
Set config.namespace to undefined or omit it if not using populateIn feature.
Use 'import redisStore from ...' (default import) not 'import { redisStore } from ...'.Ensure redisStore() is called (not just referenced) and passed to createClient.
Set config.isPreconfigured: true and manually configure notify-keyspace-events to 'Kx'.