Static Rendering with ISRPre-rendered with Background Updates
This page is pre-rendered at build time, just like a static page, but it can be updated in the background without rebuilding the entire site.
When a user requests the page after the revalidation period, Next.js regenerates the page on the server while serving the old version immediately. The updated HTML is then cached and served to subsequent visitors.
- ✔Pre-rendered at build time
- ✔Background regeneration after a set interval (revalidate)
- ✔Combines performance of static pages with up-to-date content
- ✔Ideal for content that changes frequently but still benefits from static caching
This approach ensures fast initial loads while keeping data reasonably fresh, without blocking requests.
Last Generated:
Random Pokémon fetched at build time. This page can regenerate in the background based on the ISR revalidation interval (1 Minute here).