Unverified Commit e669e8f4 authored by Delba de Oliveira's avatar Delba de Oliveira Committed by GitHub
parent aca67c54
--- ---
title: unstable_cache title: unstable_cache
description: API Reference for the unstable_cache function. description: API Reference for the unstable_cache function.
version: unstable version: legacy
--- ---
> This API will be deprecated in future versions. In version 15 we recommend using the [`use cache`](app/api-reference/directives/use-cache) directive instead. In version 15, we recommend using the [`use cache`](app/api-reference/directives/use-cache) directive instead.
`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.
......
--- ---
title: unstable_noStore title: unstable_noStore
description: API Reference for the unstable_noStore function. description: API Reference for the unstable_noStore function.
version: unstable version: legacy
--- ---
> This API will be deprecated in the future. In version 15, we recommend using [`connection`](/docs/app/api-reference/functions/connection) instead of `unstable_noStore`. In version 15, we recommend using [`connection`](/docs/app/api-reference/functions/connection) instead of `unstable_noStore`.
`unstable_noStore` can be used to declaratively opt out of static rendering and indicate a particular component should not be cached. `unstable_noStore` can be used to declaratively opt out of static rendering and indicate a particular component should not be cached.
......
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