Next 15 Caching issues
Unanswered
Broad-snouted Caiman posted this in #help-forum
Broad-snouted CaimanOP
Hey there,
I'm currently playing around with unstable_cache, revalidatePath and revalidateTag. I'm running into the following issues:
I have a page that contains a server component. In this server component I fetch data using unstable_cache
- calling revalidatePath() on the page gets the new data, but if I refresh, the old data appears again
- calling revalidateTag() with the tag I used in my unstable_cache call in the Server Component get's the new data, but if I click on refresh the entire page is gone and just shows 404.
What am I overlooking here?
I'm currently playing around with unstable_cache, revalidatePath and revalidateTag. I'm running into the following issues:
I have a page that contains a server component. In this server component I fetch data using unstable_cache
- calling revalidatePath() on the page gets the new data, but if I refresh, the old data appears again
- calling revalidateTag() with the tag I used in my unstable_cache call in the Server Component get's the new data, but if I click on refresh the entire page is gone and just shows 404.
What am I overlooking here?