notion blog content not updated using next js
Unanswered
Sloth bear posted this in #help-forum
Sloth bearOP
I find out that when I update content on the blog of a next js, the production website cannot reflect the change until I go redeploy again. #notion #vercel
2 Replies
Sloth bearOP
@Sloth bear You could access my GitHub repo for more insights
https://github.com/burkaslarry/gchhk_website_v2
private repo. but this issue is due to you using [static rendering](https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default) (only render once at build and reuse everywhere). you might need to [switch to dynamic rendering](https://nextjs.org/docs/app/building-your-application/rendering/server-components#switching-to-dynamic-rendering) instead, by e.g. adding
export const revalidate = 0 to the page.js/route.js file