Skip to content
This page is also available as Markdown: request this page's URL with an Accept: text/markdown header. For an index of Next.js Pages Router documentation, see /docs/pages/llms.txt.
You are currently viewing the documentation for Pages Router.

Data Fetching

Last updated March 3, 2026

Data fetching in Next.js allows you to render your content in different ways, depending on your application's use case. These include prerendering with Server-side Rendering or Static Generation, and updating or creating content at runtime with Incremental Static Regeneration.

Examples

Was this helpful?

supported.