Skip to content

Commit

Permalink
Docs: Add legacy tags (#71964)
Browse files Browse the repository at this point in the history
  • Loading branch information
delbaoliveira authored Oct 29, 2024
1 parent aca67c5 commit e669e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: unstable_cache
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: unstable_noStore
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.

Expand Down

0 comments on commit e669e8f

Please sign in to comment.