ISR Revalidation

Revalidates Next.js paths and cache tags when documents are published or deleted

Community 3 8/wk MIT v1.2.1

Installation

pnpm add @ggaidelevicius/payload-isr

About

ISR Revalidation keeps a Next.js site with statically cached pages in step with the content editors change in Payload. When a document in a configured collection or global is published, updated, unpublished or deleted, the plugin works out which page paths and cache tags are affected and asks Next.js to refresh them, so visitors see new content without a full rebuild.

If a page cannot be refreshed by path or tag alone, the plugin can probe a URL and fall back to a full site rebuild through a webhook you supply. Drafts are skipped until they are published, and bulk updates are handled one document at a time.

Package info

Package name
@ggaidelevicius/payload-isr
Latest version
1.2.1
Unpacked size
198 kB
License
MIT
Weekly downloads
8
Last publish
Oct 5, 2026

Similar plugins

More in Cache

Pushes content changes from Payload to open pages without a reload

Managed redirects with cache-backed Next.js middleware and an orderable admin list

Moves frontend translation keys into the Payload database for editors to manage

Background jobs for scheduled publishing, cache revalidation and approval expiry

Revalidates Next.js cache tags for documents and their related content on save

Next.js cache revalidation that clears only the tags a Payload change touches