Next.js Discord

Discord Forum

Revalidate custom 404 page with content from headless CMS

Unanswered
Manx posted this in #help-forum
Open in Discord
ManxOP
I have a 404.tsx page and fetches data from a headless CMS.
Problem: Since 404.tsx page is generated at build time, new updated content from CMS does not show on 404 not-found page.
How do I revalivate to get updated content on a 404 page

1 Reply