Next.js Discord

Discord Forum

Static route revalidation issue

Unanswered
Tramp ant posted this in #help-forum
Open in Discord
Tramp antOP
After calling revalidatePath(route) on a statically generated route, first request to the route receives old cached files and triggers rendering on the server. Second request receives revalidated files.


Is it possible to make it so that the first request receives a loading state while keeping the route static?

0 Replies