Unverified Commit 106043a5 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

docs: unstable_cache clarify usage (#74802)

parent cf233c15
--- ---
title: unstable_cache title: unstable_cache
description: API Reference for the unstable_cache function. 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. `unstable_cache` allows you to cache the results of expensive operations, like database queries, and reuse them across multiple requests.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment