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 profileDashboard Analytics
Adds Plausible and Google Analytics widgets to the Payload admin dashboard, navigation, collections and globals.
AI Completions
Payload plugin that generates field content through OpenAI chat completions from the admin panel.
Default Roles
Applies default role-based access control to every Payload collection, granting CRUD access to specified roles such as admin and executive.
Warding
RBAC plugin that generates user and role collections and injects fine-grained access control across Payload collections, globals, fields, and endpoints.
Iframe Tabs
Add iframes into separate tabs in the Payload admin panel.
Visual Editor
Adds a visual live editor to Payload CMS for instant content preview.
Similar plugins
More in StorageS3 Upload
Routes Payload CMS upload collections to Amazon S3, pushing the original file and every image size variant.
Cloud
Connects a Payload instance to Payload Cloud's managed S3 storage, Cloudflare CDN upload caching, and Resend email delivery.
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.