mongoose-redis
JSON →Mongoose Cache is a lightweight module that adds integrated Redis caching to Mongoose queries for Node.js. Version 1.1.1 is the latest stable release; the package is in maintenance mode with irregular updates. It wraps Mongoose query executors to cache results in Redis using a simple .cache(ttlSeconds, customKey) method. Unlike more complex caching solutions (e.g., cachegoose), it aims for minimal configuration and direct Redis URL connection. It supports Mongoose 5.x+ and works with both callback and async/await patterns. Key differentiator: dead-simple API—just call .cache() on any query chain. No support for cache invalidation by pattern or automatic expiration of stale keys beyond TTL.
Resources
packagemongoose-redis ↗