Struggling to set up purely SSG website
Hi, I am working on my first SSG website running on OpenNext (came from Vercel) and the website just won't work in SSG mode (i still get fresh content from CMS when a page is reloaded).
- generateStaticParams are set for all pages (though I am unable to make them work with "export const dynamicParams = false", even in minimal setup - all pages return 404 with this setting)
- in logs all pages are marked ● for SSG
- open-next.config is set for SSG cache according to the docs
- all the api functions for data fetching with unstable_cache have { revalidate: false }, no "export const revalidate" is set
- i am using next-intl, locales are part of the generateStaticParams too
- i am using apollo client
Anyone know what i could be missing? Thanks!
0 Replies