Redis Cache
Redis cache plugin for Payload CMS
Installation
pnpm add @aengz/payload-redis-cache About
The Payload Redis Cache plugin adds a caching layer to API endpoints of Payload CMS, enhancing performance by storing the results based on collection and request URL. Users can configure the cache with various options such as the Redis instance URL, namespaces for cache keys, and specify collections to exclude from caching. To integrate the plugin, it must be included in the Payload configuration. Users must initialize a Redis connection using their Redis URI, allowing for efficient cache management. Additionally, the plugin provides helper functions like `invalidateCache` for cache maintenance, ensuring that the cached data remains relevant. This plugin requires a running Redis instance and is compatible with Payload version 1.0.19 and higher. Users should ensure the Redis package is installed to utilize the plugin effectively.
Package info
- Package name
@aengz/payload-redis-cache- Latest version
1.1.1- Unpacked size
- 41 kB
- License
- MIT
- Weekly downloads
- 96
- Last publish
- Nov 7, 2023
More from Aengz
View profileCloud
Connects a Payload instance to Payload Cloud's managed S3 storage, Cloudflare CDN upload caching, and Resend email delivery.
Unsend
Send emails using the Unsend REST API in Payload.
Email Template Builder
Create dynamic email templates using a visual builder in Payload CMS.
Ahasend Email Adapter
Integrates Ahasend email service with Payload CMS.
EasyEmail Pro
Build responsive email templates in Payload with a dedicated editor.
useSend Email Adapter
Integrates PayloadCMS with useSend for email delivery.