Next.js Discord

Discord Forum

Successful deployment not showing latest changes

Answered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
Hey everyone, I have deployed some changes to my blog on Vercel but the changes are not visible in Production. However, when I open up the specific deployment and navigate to the Source tab, I see that my changes are in fact in the source code.

How come the contents of my domain have not updated? Is there a cache that needs to be cleared? Here are my changes:

https://github.com/daniellacoste/blog/commit/87658438b21c830f6d59279d1379b59aa6371607
Answered by Ray
you have to add it and set to false
View full answer

23 Replies

Northeast Congo LionOP
I tried purging the cache in my project but that still didn’t work. Any help would be appreciated!
@Northeast Congo Lion I tried purging the cache in my project but that still didn’t work. Any help would be appreciated!
could you go to vercel.app > select your project > deployment and see which one have this label
American Crow
To my knowldege there are no nextjs caches which persis through deployments
American Crow
okay i take it back
should've read the docs before i typed. Here is some useful contirbution:
@Ray could you go to `vercel.app` > select your project > deployment and see which one have this label
Northeast Congo LionOP
hm I took a look and my latest deployment does in fact have the Current tag
@American Crow should've read the docs before i typed. Here is some useful contirbution:
Northeast Congo LionOP
any idea how I might revalidate the data or full route cache? still unclear to me if those would actually work (I mean, I expect my deployment to just work after any commit has been pushed up to my repo and not have to do anything with the cache after each change..)
@Ray https://blog-2o1miqbxr-daniellacoste.vercel.app/ do you see the new content from this url?
Northeast Congo LionOP
nope, that link 404's / the content isn't visible if i navigate to the work tab
vercel.app > your project > settings > environment variables
@Ray vercel.app > your project > settings > environment variables
Northeast Congo LionOP
hm i've navigated here but can't see this IS_TEMPLATE flag 🤔
Answer
because you have this script
Northeast Congo LionOP
ahhh
great call out, let me look
when i'd forked this i did not see that comment, i'll give that a try!
Northeast Congo LionOP
roger
bingo that was the trick @Ray ; thanks so much!