sashkode
sashkode
TTCTheo's Typesafe Cult
Created by sashkode on 7/26/2024 in #questions
unstable_cache behavior in dev mode?
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 😦
3 replies