Next.js Discord

Discord Forum

Revalidate is not working as expected

Unanswered
qavi posted this in #help-forum
Open in Discord
Hi guys can any explain the revalidate return prop in getStaticProps I have set it to an hour, but the page is not revalidated even after a few hours, I want it to be 404 if I delete the page from CMS, I am using fallback: 'blocking' to make ISR.

When using /api/revalidate?path=<path> then it shows 404 meaning that the page is actually deleted, but why it does not auto revalidate after an hour to show a 404 for a deleted page.

Thank you

0 Replies