Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/next/src/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,11 @@ export interface NextConfig {
enablePrerenderSourceMaps?: boolean

/**
* When enabled, in development and build, Next.js will automatically cache
* page-level components and functions for faster builds and rendering. This
* includes Partial Prerendering support.
* When enabled, Next.js treats all routes as dynamic by default, rendering every
* request with the latest available data. You can mark data and parts of your UI
* as cacheable using the `use cache` directive, which includes them in the
* pre-render pass alongside static parts of the page. Also enables `cacheLife`
* and `cacheTag` APIs, and includes Partial Prerendering support.
*
* @see [Cache Components documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/cacheComponents)
*/
Expand Down
Loading