references/support-topics/astro-output-mode-and-isr.md

GitHub
idastro-output-mode-and-isr
titleAstro output mode and ISR
statusactive
candidateKinds["uncached_route","rendering_candidate"]
frameworks["astro@*"]
priority90
citations["https://vercel.com/docs/frameworks/frontend/astro","https://docs.astro.build/en/guides/on-demand-rendering/","https://docs.astro.build/en/reference/configuration-reference/"]
maxBriefChars850

Investigation Brief

Astro defaults to static output; server output makes pages render on demand unless route-level prerendering changes that. First decide whether the hot route truly needs SSR.

Evidence To Check

Inspect astro.config, adapter options, output, route-level prerender, dynamic params, middleware, and whether the content is shared across visitors. Compare route cache result and request volume.

Do Not Recommend When

Do not prerender or cache personalized, preview, cart, checkout, or auth-gated pages. Do not change output mode for the whole app when one route-level flag is enough.

Verification

Name the Astro output mode, route-level prerender state, observed route signal, and exact config or page line.