incremental static regeneration next.js 15
Unanswered
Argentine ant posted this in #help-forum
Argentine antOP
To perform ISR on a statically rendered page in Next.js 15 that fetches data using supabase.js at build, do I need to use unstable_cache or does export const revalidate = 3600 work?
5 Replies
@Argentine ant To perform ISR on a statically rendered page in Next.js 15 that fetches data using supabase.js at build, do I need to use unstable_cache or does export const revalidate = 3600 work?
export const revalidate = 3600 should work provided that you dont use any dynamic features
Argentine antOP
It's not it's a fully static page in the build output
great
your build logs should indicate that the route is static
o and not dynamic f.if its
o then the o page will be invalidated after 3600