Basic Features: Data fetching | Next.js
This document is for Next.js versions 9.3 and up. If you're using older versions of Next.js, refer to our previous documentation. In the Pages documentation, we've explained that Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. In this page, we'll talk in depth about data fetching strategies for each case.
https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration