Next.js Discord

Discord Forum

Can't on-demand revalidate dynamic route

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Avatar
Spectacled bearOP
Anyway to on-demand revalidate a dynamic page that fetches data from supabase database? revalidateTag works as intended for fetch api but using the supabase api so not useable.

revalidatePath does not on-demand revalidate the specific path. It revalidates all pages in that dynamic route only when the specific page is next visited. Shows stale content the first time the page is visited after revalidating

0 Replies