Skip to content

Commit 86ef885

Browse files
authored
docs: adjust Caching data with an ORM or Database section (#76454)
## Why? Adjust first sentence of [Caching with an ORM or Database](https://nextjs.org/docs/app/building-your-application/data-fetching/fetching#caching-data-with-an-orm-or-database) section to clarify that you don't need `unstable_cache` to prerender a page. - Fixes #73808
1 parent a27d411 commit 86ef885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/01-app/03-building-your-application/02-data-fetching/01-fetching.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export function Posts() {
207207

208208
### Caching data with an ORM or Database
209209

210-
You can use the `unstable_cache` API to cache the response to allow pages to be prerendered when running `next build`.
210+
You can use the `unstable_cache` API to cache the response when running `next build`.
211211

212212
```tsx filename="app/page.tsx" switcher
213213
import { unstable_cache } from 'next/cache'

0 commit comments

Comments
 (0)