Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Content is not updating until re-deploy #7

Open
surjithctly opened this issue Dec 29, 2020 · 4 comments
Open

Content is not updating until re-deploy #7

surjithctly opened this issue Dec 29, 2020 · 4 comments

Comments

@surjithctly
Copy link

Because you have not added revalidate:1, content is only updating on production after a re-deploy

@johnsonsg
Copy link

@surjithctly I am having this issue to, and fairly new to this, but what do you mean?

@surjithctly
Copy link
Author

Hey @johnsonsg Since this template uses Next JS, they have an option called revalidate once we added that, Next.js will automatically get new data when its updated. So we get new data without rebuilding it manually.

Learn more here: https://nextjs.org/docs/basic-features/data-fetching

@Dmancuso1
Copy link

Nice one. Recalibrate is an option for getStaticProps on next.is. Mine is set to 48hours maybe that's why I'm not seeing an update .. I'll reval after 10mins going forward to see if that helps

@Dmancuso1
Copy link

*revalidate

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

No branches or pull requests

3 participants