-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RevalidateTag fails randomly on production #199
Comments
Can you elaborate what you mean by works correctly? |
Hi, exactly the second one: if you have for example 2 pages with the same tag sometimes the revalidate purge both, sometimes only one or none of them.
It works as expected refreshing always all the contents. |
I just realized that disabling the cache setting the revalidate to 0 is like having a dynamic page that queries sanity for each requests 🤦🏼♂️ I saw that it's a bug using the |
Hi @valse, I have exactly the same problem that when I update a project from the starter template, the preview for the project on the home page is revalidated but not the individual project page. This is related to the problem you linked and the only thing to do is to wait until the next team has found a solution, correct? |
Hi @nikolailehbrink... yes for the moment the problem still exists but I found a workaround that not prerender the pages on build but it cache the requests and revalidate them. |
Oh wow! 😄 Okay, I will look into it! Thank you @valse! |
Hi, I'm facing same issues with the current revalidate setting on the loadQuery method because on production in a Vercel web app, revalidating by the webhook not all the pages with the desired tag are refreshed correctly.
Disabling the cache on the loadQuery revalidate property all works as expected.
Why you've chosen to enable the cache in this scenario?
Thanks!
The text was updated successfully, but these errors were encountered: