{"repo":"yxx4c/prisma-extension-redis","free":true,"listed":false,"github":"https://github.com/yxx4c/prisma-extension-redis","clone":"git clone https://github.com/yxx4c/prisma-extension-redis.git","description":"Extensive Prisma extension designed for efficient caching and cache invalidation using Redis and Dragonfly Databases","language":"TypeScript","stars":95,"topics":["cache","cache-invalidation","prisma-extension","prisma-orm","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"Prisma Extension Redis Caching for Prisma, done right: auto-caching, write invalidation, and stale-while-revalidate on Redis, Dragonfly, or Upstash — with zero runtime dependencies and a Redis client you bring and own. 📚 Full documentation: yxx4c.github.io/prisma-extension-redis 🚀 If prisma-extension-redis proves helpful, consider giving it a star! ⭐ Star Me! --- What's New in v5 - Zero runtime dependencies — bring your own Redis client : pass an ioredis-family instance, an @upstash/redis client, or any custom RedisApi ; the extension never opens connections on your behalf, and prisma.redis is typed as exactly the client you passed - Write invalidation : auto.invalidateOnWrite purges a model's auto-cache after successful writes - Edge-ready : the published build imports nothing but the Prisma peer — pair it with @upstash/redis in Cloudflare Workers or Vercel Edge - Fail-fast diagnostics : a JSON-configured extension probes RedisJSON support at startup and says exactly how to fix a mismatch; healthCheck() reports jsonSupport - Everything from the v4 line: Prisma 7 driver adapters with @prisma/client as a peer dependency, direct prisma.cache(...) / prisma.uncache(...) , includedModels , plain results with opt-in meta: true , server-synced timestamps Upgrading from v2, v3, or v4? See the migration guide. --- Battle-Tested The v5 release was validated end to end — full numbers and methodology in the assurance report: - 303 tests, 100% line coverage , run against real servers: D","default_branch":null,"files":null,"tree":[],"storefront":"/r/yxx4c","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yxx4c/prisma-extension-redis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}