Next.js Discord

Discord Forum

revalidatePath with data cache entries

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
Does revalidatePath affect entries in the "Data cache", eg. things stored via the use of unstable_cache or cached fetch requests? Or are those things only able to be revalidated by "tag"? I'm struggling to understand what the relationship would be between those cache entries and particular paths. Does Next record what path caused those entries to be written? Does it then revalidate that entry for any other path that was using it as well?

5 Replies

Sun bearOP
I see, thanks.

Isn't the router cache always in use even if ISR is not?
or are you talking about the "full route cache"
yes the full router cache. my bad