{"repo":"ianyimi/payloadcms-redis-plugin","free":true,"listed":false,"github":"https://github.com/ianyimi/payloadcms-redis-plugin","clone":"git clone https://github.com/ianyimi/payloadcms-redis-plugin.git","description":"PayloadCMS v3 Redis Plugin","language":"TypeScript","stars":15,"topics":["ioredis","nextjs","payload-plugin","payloadcms","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"PayloadCMS Redis Plugin A transparent Redis caching layer plugin for Payload CMS v3 that automatically caches database queries to improve performance. Features - Automatic Query Caching - Transparently caches all read operations (find, findOne, count, etc.) - Smart Invalidation - Automatically invalidates cache on write operations (create, update, delete) - Flexible Configuration - Enable caching per collection or globally with custom TTL - Per-Request Override - Control cache behavior on individual requests - Custom Cache Keys - Generate custom cache keys based on your needs - Pattern-Based Invalidation - Invalidate related cache entries using Redis patterns - Debug Mode - Optional logging for cache hits, misses, and invalidations - Zero Breaking Changes - Works seamlessly with existing Payload applications Installation Requirements - Payload CMS v3.37.0 or higher - Node.js 18.20.2+ or 20.9.0+ - Redis server Quick Start Basic Setup Using Existing Redis Client Configuration Plugin Options Cache Options Advanced Configuration Usage Per-Request Cache Control Override cache behavior for individual requests: Cached Operations The following database operations are automatically cached: Read Operations (cached before hitting database): - find - Query collections with pagination - findOne - Query single document by ID - findGlobal - Query global configurations - findGlobalVersions - Query global version history - count - Count documents - countVersions - Count document versions - co","default_branch":null,"files":null,"tree":[],"storefront":"/r/ianyimi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ianyimi/payloadcms-redis-plugin/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."}