redis-lru

JSON →
library 0.6.0 ·javascript
verified Jun 7, 2026

A Redis-backed LRU cache for Node.js, version 0.6.0. It allows caching that persists across process restarts and is shareable between multiple Node.js processes via Redis. The API is inspired by node-lru-cache and supports both node_redis and ioredis clients. Offers configurable options such as max size, namespace, maxAge, custom scoring, and incremental scoring (usable as LFU). All methods return Promises. Compared to in-memory LRU caches, this provides durability and sharing, at the cost of network latency. Active development, with a steady release cadence (latest: 0.6.0).