Nuxt 3 routeRules: Mix SSR, static, ISR, and SWR in one app
Nuxt 3 routeRules lets you assign SSR, static, ISR, or SWR per route pattern in one config. Includes a worked example, cache header table, platform limits, and local verification steps.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Nuxt 3 routeRules lets you assign SSR, static, ISR, or SWR per route pattern in one config. Includes a worked example, cache header table, platform limits, and local verification steps.
Dynamic product pages in Vue Storefront can hurt SEO and performance. This guide shows how to use Incremental Static Regeneration to pre‑render pages, reduce latency, and keep content up‑to‑date.
Nuxt 3 exposes files in server/api as HTTP endpoints. Learn file routing, request handling, and common pitfalls for building backend logic inside your Nuxt application.
Nuxt 3's server/api directory lets you add server-only API endpoints without a separate backend, keeping client bundles small and local testing simple.
Learn how to turn Vue Storefront’s client‑only category pages into Nuxt‑powered SSR pages, fetch data on the server, cache wisely, and roll out incrementally. A hands‑on example shows the exact code you need to get started.
Learn how Nuxt 3’s file‑based routing automatically lazy‑loads dynamic routes and how to pair them with server API routes to keep initial JavaScript small while fetching data on demand.
Learn how Nuxt 3's useAsyncData eliminates duplicate fetches and hydration mismatches by fetching data once on the server and reusing it on the client.
Learn how to use Nuxt 3's useFetch to fetch data with automatic SSR, hydration and deduplication, and avoid common pitfalls.
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.