Payload Redis Cache

screenshot of Payload Redis Cache
express
payloadcms

A Redis cache plugin for Payload CMS

Overview

The Payload Redis Cache Plugin is a plugin for Payload CMS that adds a cache layer to API endpoints. The cache is based on the combination of the user's collection and the original URL. It requires Payload version 1.0.19 or higher and a Redis instance.

Features

  • Cache Layer: Adds a cache layer to API endpoints in Payload CMS.
  • User Collection and URL Based: The cache is based on the combination of the user's collection and the original URL.
  • Plugin Options: Provides options such as Redis instance URL, cache key prefix, excluded collections, excluded globals, and included paths.

Summary

The Payload Redis Cache Plugin is a useful plugin for Payload CMS that adds a cache layer to API endpoints. It utilizes Redis to cache API responses based on the combination of the user's collection and the original URL. This cache layer improves performance and reduces the load on the server. The plugin provides various configuration options to customize the caching behavior. Overall, it is a valuable addition for developers using Payload CMS.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

payloadcms
Payloadcms

Payload is an open source, headless CMS and application framework built with TypeScript, Node.js, and React.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.