diff --git a/docs/02-app/02-api-reference/04-functions/unstable_cache.mdx b/docs/02-app/02-api-reference/04-functions/unstable_cache.mdx index 9fb06265647388..5fce7c14a681c7 100644 --- a/docs/02-app/02-api-reference/04-functions/unstable_cache.mdx +++ b/docs/02-app/02-api-reference/04-functions/unstable_cache.mdx @@ -20,6 +20,9 @@ export default async function Component({ userID }) { } ``` +> **Good to know**: +> Accessing dynamic data sources such as `headers` or `cookies` inside a cache scope is not supported. If you need this data inside a cached function use `headers` oustide of the cached function and pass the required dynamic data in as an argument. + > **Warning**: This API is unstable and may change in the future. We will provide migration documentation and codemods, if needed, as this API stabilizes. ## Parameters