Static Rendering with Build-Time DataBuild-Time Data Fetching
This page is generated at build time and includes data fetched during the build process.
The data is retrieved once when next build runs, and the resulting HTML is saved as a static file. Every user receives the same pre-rendered HTML until the site is rebuilt.
- ✔Data is fetched at build time
- ✔No data fetching at request time
- ✔No revalidation
- ✔Same HTML for every user
This strategy is ideal for content that depends on external data but changes infrequently.
Build Time:
Random Pokémon fetched at build time