Skip to content

Commit

Permalink
docs: unstable_cache clarify usage (#74802)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Jan 12, 2025
1 parent cf233c1 commit 106043a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/01-app/04-api-reference/04-functions/unstable_cache.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: unstable_cache
description: API Reference for the unstable_cache function.
version: legacy
---

In version 15, we recommend using the [`use cache`](/docs/app/api-reference/directives/use-cache) directive instead.
> **Note:** This API will be replaced by [`use cache`](/docs/app/api-reference/directives/use-cache) when it reaches stability.
`unstable_cache` allows you to cache the results of expensive operations, like database queries, and reuse them across multiple requests.

Expand Down

0 comments on commit 106043a

Please sign in to comment.