Skip to content

Conversation

@abhishekmardiya
Copy link

@abhishekmardiya abhishekmardiya commented Feb 3, 2026

There’s an inconsistency in the docs: unstable_cache has already been replaced by use cache, so I think the documentation should be updated accordingly.
I’d appreciate it if you could look into this, should that be the case. @icyJoseph

There’s an inconsistency in the docs: unstable_cache has already been replaced by use cache.
@nextjs-bot nextjs-bot added the Documentation Related to Next.js' official documentation. label Feb 3, 2026
@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Feb 3, 2026

Allow CI Workflow Run

  • approve CI run for commit: e831e67

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@icyJoseph
Copy link
Collaborator

I think we just need to sync with the callout here? https://nextjs.org/docs/app/getting-started/caching-and-revalidating#unstable_cache

Good to know: unstable_cache is an experimental API. We recommend opting into Cache Components and replacing unstable_cache with the use cache directive. See the Cache Components documentation for more details.

@abhishekmardiya
Copy link
Author

Yeah, I think that’s a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Related to Next.js' official documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants