SSG with generateStaticParams and ISRPre-Rendered at Build Time with Background Updates
This page is not pre-rendered at build time. Instead, it is generated on the first request for each path, producing static HTML on demand.
After the initial request, the page is cached and served to all visitors. The page revalidates in the background after the revalidation period, updating the cached HTML for future visitors.
- ✔HTML is generated on the first request for each path, not at build time
- ✔Data fetching occurs on demand when the page is requested
- ✔Content is cached and served to visitors until revalidation
- ✔Pages are regenerated in the background after the revalidation period
- ✔Ideal for dynamic routes that can't be pre-rendered but are cacheable with occasional updates
This strategy generates pages on the first request and caches them, combining flexibility of dynamic URLs with fast repeat loads, while supporting background updates through revalidation, making it ideal for content that changes occasionally but doesn't need to be built upfront.
Generated at:
Pokémon is fetched on the first request for the [name] route parameter, the page is generated on demand, cached, and can regenerate in the background based on the ISR interval (1 minute).
Pre-Rendered Pages
- /ssg/dynamic-route/isr/chikorita
- /ssg/dynamic-route/isr/bayleef
- /ssg/dynamic-route/isr/meganium
- /ssg/dynamic-route/isr/cyndaquil
- /ssg/dynamic-route/isr/quilava
- /ssg/dynamic-route/isr/typhlosion
- /ssg/dynamic-route/isr/totodile
- /ssg/dynamic-route/isr/croconaw
- /ssg/dynamic-route/isr/feraligatr
Pages generated at