Prisma Redis Extension

JSON →
library 2.1.1 ·javascript
verified Jun 7, 2026

prisma-extension-redis (v2.1.1) is a Prisma client extension that provides transparent caching and cache invalidation using Redis or Dragonfly databases. It wraps Prisma queries to cache results and automatically invalidate related cache entries on mutations. Key features include configurable cache keys, TTL support, and fine-grained invalidation based on model operations. Released as an npm package, it targets Prisma 4+ and Redis 6+. Unlike manual caching solutions, it integrates seamlessly with Prisma's query lifecycle and works with both Redis and Dragonfly.