Skip to content
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

We do not get freshest data when deploying immediately after data update if we are using Sanity API CDN #19

Open
npazarkoski opened this issue Apr 4, 2022 · 4 comments

Comments

@npazarkoski
Copy link

Maybe it would be good if there is an option for refreshing data before deploying (for those who are using API CDN).

@richgcook
Copy link

richgcook commented Dec 6, 2022

I am also having this issue but I am NOT using the API CDN.

I'm updating the content on Sanity Studio but it doesn't reflect the changes on the Netlify build. I've done hundreds of these builds and only now I'm having this issue but nothing has changed. If I manually trigger a deploy and clear cache it works but when deploying changes from the Sanity Studio dashboard it doesn't seem to grab the latest changes. If I push up a change to Github, which triggers a build, then it works fine.

@richgcook
Copy link

Anyone? I'm having to press the Deploy button twice on v2 (haven't tried v3) in order for the latest changes to be reflected...

@jeanpam
Copy link

jeanpam commented Mar 29, 2023

Same :(

@jeanpam
Copy link

jeanpam commented Mar 29, 2023

useCdn: false seems to fix it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants