Next.js Discord

Discord Forum

How to get list of all available tags for cache / wildcard revalidate path in Next.js 14?

Unanswered
nrsimha posted this in #help-forum
Open in Discord
I am using revalidatePath() to revalidate specific path in API route.
Is there some official way how to get list of all cached pages? I want to use that list to revalidate also all children of current path.

Or is there some better way to wildcard revalidate paths? For example everything what starts with /en/library/sb/?

0 Replies