Next.js Discord

Discord Forum

What triggers a static re-render?

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
I'm building on app router in canary and I see the new dev indicators. But what triggers a "Statically rendered page" badge?
I've attached a screenshot as well. I see this after I click a button that calls a server action. Is that re-generating this static page?

1 Reply

Northeast Congo LionOP
Oh I think I see why...its a POST request so its expected to revalidate the page? Reading the docs again right now...