Pushes content changes from Payload to open pages without a reload
Redis
Caches Payload database reads in Redis and clears them on writes
Installation
pnpm add payloadcms-redis-plugin About
Redis Plugin puts a Redis cache in front of the database queries Payload runs for collections and globals. Reads such as finds, single document lookups, counts and draft queries are served from Redis when a matching entry exists, so repeated requests skip the database. Writes like creates, updates and deletes clear the related cached entries, so editors see fresh content without extra work.
Caching can be turned on per collection or global, with a custom expiry time for each. A single request can also bypass the cache, use its own expiry, or take a custom key. Cache failures do not break queries, so the site falls back to the database if Redis is unreachable. Debug logging shows hits, misses and invalidations while you tune settings.
Package info
- Package name
payloadcms-redis-plugin- Latest version
0.2.17- Unpacked size
- 88 kB
- License
- MIT
- Weekly downloads
- 121
- Last publish
- Oct 31, 2025
Similar plugins
More in CacheManaged redirects with cache-backed Next.js middleware and an orderable admin list
Moves frontend translation keys into the Payload database for editors to manage
Revalidates Next.js paths and cache tags when documents are published or deleted
Background jobs for scheduled publishing, cache revalidation and approval expiry
Revalidates Next.js cache tags for documents and their related content on save