Nuxt routeRules: Prerender the Blog, Keep the Dashboard Dynamic
Nuxt 3's routeRules lets you prerender the blog, add stale-while-revalidate caching to the homepage, and keep account pages fully dynamic — one config, one deployment.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Nuxt 3's routeRules lets you prerender the blog, add stale-while-revalidate caching to the homepage, and keep account pages fully dynamic — one config, one deployment.
Nuxt 3's routeRules let you pick SSR, static, SWR, or SPA rendering per route in one app. A worked e-commerce example, verification steps, and honest trade-offs.
Use Nuxt 3 route rules to assign SSR, SSG, ISR, or SWR to each page, balancing speed, freshness and security. This guide walks through requirements, design, trust boundaries, checks, and failure modes.
Learn how to use Nuxt 3 routeRules to implement hybrid rendering. Configure SSR, SSG, SPA, and ISR per route to optimize performance, SEO, and server load.