Please check out the official docs - https://nextjs.org/docs/app/api-reference/functions/revalidatePath
revalidatePath only invalidates the cache when the included path is next visited. This means calling revalidatePath with a dynamic route segment will not immediately trigger many revalidations at once. The invalidation only happens when the path is next visited.
Thus, your…
Top comments (0)