RevalidateTags revalidating cache on every page refresh #84241
Unanswered
MikeDrenth
asked this question in
App Router
Replies: 1 comment 1 reply
-
|
I am not sure I understand 100% but, I wonder if the Authorization header is somehow at play here. Have you tried caching other kinds of data, without the Authorization header, and see if that works as you expect? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the added screenshot, you can see the log I see in Vercel. On every page refresh, for some reason, the cache is getting updated from every component fetch I do on the page.
In the code below, you can see how I use the fetch to fetch the components from our CMS. Has anyone here have had any issues like this before, and could tell me what I am doing wrong?
What I want to achieve is, that I can go to page
clearcache/component-94358and then it should revalidate the data from that component.I am using nextje v14
Then in my server side components, I fetch the component data like this.
Beta Was this translation helpful? Give feedback.
All reactions