shawaze
(ShawazeAhmer Ahmer)
February 16, 2024, 7:09am
1
Have you published changes in Prismic that aren't appearing on your website? Or maybe it takes a certain amount of time before you see the changes? Here we discuss the most usual causes of something like this.
How long does it take for changes in Prismic to appear in the API?
The Prismic API will immediately refresh with new content as soon as you publish it. You can verify that the changes are coming through by viewing the document in your API Browser.
Here is the documentation for how to use…
I had a similar issue where everything is working fine on my local but on production and preview, it just says page not found. I've been looking at other similar problems and trying to fix but could not get it done. Redeploying through webhook also does not works.
I'm using Next.js.
Phil
(Phil Snow)
February 19, 2024, 4:46pm
3
Hi @shawaze ,
Have you tried some of the solutions suggested in this thread?
Dear Prismic team
I set up a new Next.js App Router project using your setup command npx @slicemachine/init@latest and walking trough your step by step setup guide.
In previous versions, I never had issues deploying the site to Vercel and setting up Prismic Webhooks to trigger redeploys.
With this new project it seems like there are some caching issues with Vercel:
If I push a new commit to Github or if I edit content on Prismic, it triggers a new deploy correctly.
Unfortunately those deplo…