Revalidation

Revalidation is the mechanism that refreshes cached data or pages. It can be time-based, after a given duration, or on-demand, triggered by an event such as a content change, with revalidatePath or revalidateTag. It keeps a site fast while staying up to date.

Example

revalidatePath('/blog')

Related concepts

The whole glossary