ISR revalidation
Integrates ISR-style cache revalidation into Payload CMS for Next.js.
Installation
pnpm add @ggaidelevicius/payload-isr About
This plugin enhances Payload CMS by implementing Incremental Static Regeneration (ISR) capabilities tailored for Next.js applications. It enables automatic cache revalidation on document changes, including publishing, updating, unpublishing, and deletion, alongside options for full rebuilds when necessary. The plugin requires configuration of collections and global settings to define which documents and triggers will cause cache updates. The plugin offers hooks like `afterChange` and `afterOperation` to interact within document life cycles. Users can set up specific paths and cache tags for revalidation, enabling fine control over how content updates affect site performance. Detailed logging options are available to aid in debugging and monitoring of the cache revalidation process. Users can benefit from minimal configuration, enabling core functionality with just a collection and path resolver, or can expand the configuration to support complex scenarios involving multiple collections, global settings, and comprehensive rebuild strategies.
Package info
- Package name
@ggaidelevicius/payload-isr- Latest version
1.2.0- Unpacked size
- 186 kB
- License
- MIT
- Weekly downloads
- 4
- Last publish
- Mar 6, 2026
Similar plugins
More in StorageCloudinary integration
Integrates Cloudinary for media management in Payload CMS.
ImageKit
Sync images to ImageKit storage directly from Payload CMS.
Nextcloud
Nextcloud storage adapter for Payload CMS that uploads files over WebDAV and optionally creates public share links via the Nextcloud OCS API.
Cloudinary storage adapter
Integrates Cloudinary storage into Payload CMS for media management.
Upstash KV adapter
Integrates Upstash as a key-value storage solution for Payload.
Bunny Storage Adapter
Bunny.net storage and stream adapter for Payload CMS with TUS resumable uploads and CDN cache purging.