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.

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

pichu

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

  1. /ssg/dynamic-route/isr/chikorita
  2. /ssg/dynamic-route/isr/bayleef
  3. /ssg/dynamic-route/isr/meganium
  4. /ssg/dynamic-route/isr/cyndaquil
  5. /ssg/dynamic-route/isr/quilava
  6. /ssg/dynamic-route/isr/typhlosion
  7. /ssg/dynamic-route/isr/totodile
  8. /ssg/dynamic-route/isr/croconaw
  9. /ssg/dynamic-route/isr/feraligatr
Pages generated at