Redis cache mixin for LoopBack.io (v1.0.10, last released 2017). Caches GET requests and invalidates on create/update/delete. Supports per-model Redis server config with fallback. Requires Node.js v4+. Note: This package is unmaintained, uses deprecated dependencies (node_redis, redis-delete-pattern), and may not work with LoopBack 4. Alternatives: loopback-connector-kv-redis or custom caching.
npm install loopback-redis-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure Rediscache mixin on a LoopBack model with optional Redis host/password via environment variables.
Migrate to loopback-connector-kv-redis or implement custom caching.
Pin redis version to 2.x (may require npm overrides) or switch to different cache solution.
Always use LoopBack model methods to ensure cache is cleared.
Use loopback-connector-kv-redis for LoopBack 4.
Manually install: npm install redis-delete-pattern --save
Ensure 'mixins' entry points to '../../node_modules/loopback-redis-cache' from your model-config.json.