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
- 56
- Last publish
- Mar 6, 2026
More from ggaidelevicius
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.
Similar plugins
More in StorageS3 Upload
Routes Payload CMS upload collections to Amazon S3, pushing the original file and every image size variant.
Cloud Storage
This plugin integrates cloud storage options into Payload CMS.
Bunny Storage Adapter
Bunny.net storage and stream adapter for Payload CMS with TUS resumable uploads and CDN cache purging.
SFTP storage adapter
SFTP adapter for storing files in Payload CMS using cloud storage.
FTP storage adapter
Integrates FTP storage with Payload CMS for remote file management.