revalidatePath with data cache entries
Unanswered
Sun bear posted this in #help-forum
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
They affect entries both in the Data Cache and the Router Cache (if ISR is configured)
Yes it then revalidate any data cache that is used within that path
Sun bearOP
I see, thanks.
Isn't the router cache always in use even if ISR is not?
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