Revalidate

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

Community 19 171/wk MIT v0.8.5

Installation

pnpm add @pro-laico/payload-revalidate

About

Payload Revalidate keeps cached Next.js pages and data in step with Payload content. When a document changes, only the cache tags that change touches are cleared, so one edit does not flush the whole site. Hooks attach to every collection and global, and list caches refresh only when the fields that define them change.

Cached reads fetch and tag in one call, and each document is cached by ID so every page that uses it shares one entry. A join field that gains or loses a member clears only the parent list it affects. Draft saves stay in the draft lane, and a dependency map shows what revalidates for each kind of change.

Package info

Package name
@pro-laico/payload-revalidate
Latest version
0.8.5
Unpacked size
349 kB
License
MIT
Weekly downloads
171
Last publish
Aug 14, 2026

More from pro-laico

View profile

Type-safe seed data for Payload with typed document references and inline uploads

Uploads videos from Payload straight to Mux with signed or public playback

On-demand image resizing, focal crops and placeholders for Payload uploads

Icon library for Payload: SVG upload collection with cleanup and an inline icon component

Manages custom font files in Payload and serves them as subsetted WOFF2

Adds a floating dev toolbar and in-app developer pages to Payload projects

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

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

Background jobs for scheduled publishing, cache revalidation and approval expiry

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