Skip to content

Conversation

@icyJoseph
Copy link
Collaborator

No description provided.

@icyJoseph icyJoseph marked this pull request as ready for review November 3, 2025 13:54
Copy link
Contributor

@molebox molebox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with comment

@ijjk ijjk added created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. labels Nov 3, 2025
```jsx filename="app/page.js" highlight={2,7,9} switcher
import { unstable_cache } from 'next/cache'
import { getUserById } from '@/app/lib/data'
With Cache Components, you can use the [`use cache`](/docs/app/api-reference/directives/use-cache) directive to cache any computation, and `cacheTag` to tag it. This works with database queries, file system operations, and other server-side work.
Copy link
Collaborator Author

@icyJoseph icyJoseph Nov 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably stress here, that fetch('...', { cache }) is not part of this story, it may be there, but w/ Cache Components thinking about fetch options is not necessary.

@icyJoseph icyJoseph merged commit 7fef3a0 into canary Nov 5, 2025
74 checks passed
@icyJoseph icyJoseph deleted the docs/alignment-00 branch November 5, 2025 09:54
huozhi pushed a commit that referenced this pull request Nov 12, 2025
huozhi pushed a commit that referenced this pull request Nov 12, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. locked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants