unstable_cache behavior in dev mode?

Anyone knows if I should expect unstable_cache to always miss the cache in dev mode? Seems like that's the default behaviour, but I may be mistakenly invalidating it.
1 Reply
sashkode
sashkodeOP•5mo ago
Alright, after further investigation, seems like it doesn't miss the cache on HMR, which leads me to think that I'm invalidating it in my page with
revalidatePath()
revalidatePath()
. My thinking was that passing these options
{ revalidate: false, tags: [ 'my_tag'] }
{ revalidate: false, tags: [ 'my_tag'] }
would only revalidate with the tag, but seems like revalidatePath ignores tags and always revalidates 😦
Want results from more Discord servers?
Add your server