docs: clarify use cache is unsupported in Proxy (#100842)
## Summary - document that Proxy does not transform `use cache` or `use server`; functions still execute, but directive semantics do not apply - explain that `use cache` output is neither cached nor deduplicated in Proxy and that `cacheLife` throws without a cache scope - clarify that hosting providers can replace the default cache handler or disable runtime storage, while concurrent calls can still be deduplicated - point Proxy users to an external cache or data store, or to a supported application context such as a Server Component or Route Handler Affected documentation: - `docs/01-app/01-getting-started/16-proxy.mdx` - `docs/01-app/03-api-reference/03-file-conventions/proxy.mdx` (also supplies the Pages Router Proxy reference) - `docs/01-app/03-api-reference/01-directives/use-cache.mdx` - `docs/01-app/03-api-reference/01-directives/use-server.mdx` Related to #85475. Finding: https://next-maintainer-agent.vercel.tools/agent-feedback/5487 ## Verification - Prettier 3.6.2 check on the changed MDX files - `git diff --cached --check` before committing - Not run: test suite (documentation-only change) <!-- NEXT_JS_LLM --> --------- Co-authored-by:Joseph <joseph.chamochumbi@vercel.com> Co-authored-by:
Joseph <sephxd1234@gmail.com>
Showing
Please
register
or
sign in
to comment