Next.js 16+ · Concept
revalidate
revalidateTag invalidates cached entries with a matching tag. In Next.js 16, it requires a cache-life profile as its second argument and uses stale-while-revalidate behavior.
Last updated
- Since
- 16
Syntax
revalidateTag(tag, profile)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
updateTagrevalidatePathcacheLifecacheTagServer Actions