Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

441 pages for caching.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Create custom subagents Claude Code CLI · in the page sub-agents …to `5m` or `1h` to choose the [prompt cache lifetime](/docs/en/prompt-caching.md#choose-the-ttl-yourself) for this subagent's requests, at the frontmatter's place in the [cache lifetime precedence](/d… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …ucture/products-by-region/)</td> </tr> <tr> <td>Prompt caching</td> <td>Enabled by default</td> <td>Enabled by default</td> <td>Enabled by default</td> <td>Enabl… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …mates how much time the conversation's [prompt cache](/docs/en/prompt-caching.md) has left before it expires. It counts down from the cache's five-minute or one-hour [lifetime](/docs/en/prompt-caching… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …ng the [environment cache](/docs/en/cloud-environments.md#environment-caching). Heavy steps such as pulling large Docker images, syncing full dependency trees, or downloading model weights often push… Week 16 · April 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w16 …exiting with code 2 or returning `{"decision":"block"}``ENABLE_PROMPT_CACHING_1H` opts API key, Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry users into 1-hour prompt cache TTL`… Week 25 · June 15–19, 2026 Claude Code CLI · in the page whats-new/2026-w25 …ed skill appears as `<dir>:<name>` so both stay availableFixed prompt caching not reading on a custom `ANTHROPIC_BASE_URL` and on Microsoft FoundryFixed Write and Edit producing zero-byte or truncated… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …loud's Agent Platform model IDsSet [`promptCacheTtl`](/docs/en/prompt-caching#choose-the-ttl-yourself) to `1h` to keep a one-hour prompt cache on the main conversation when you use an API key or a clo… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …esumable](#resume-after-a-pause) within the same session. ### Prompt caching in a fan-out Agents in the same run can read each other's [prompt cache](/docs/en/prompt-caching.md#subagents-and-the-cac… Lazy authentication for MCP servers Claude Documentation · in the page connectors/building/lazy-authentication …zation server metadata's `scopes_supported`. ### Allow for discovery caching After you change `scopes_supported` or any other discovery field, allow about five minutes before Claude uses the new val… Supersede older widget instances Claude Documentation · in the page connectors/building/mcp-apps/instance-supersession …nnel scope under a fixed `ui.domain`, a server key that arrives late, caching the key across remounts, and the requests a custom `postMessage` bridge would drop. ### Channel scope and `ui.domain` `B… Changelog Claude Documentation · in the page cowork/changelog …anges. **Cowork** * No user-facing changes. **3P** * Fixed prompt caching not being applied in sessions that use an inference gateway or custom endpoint. **v1.34493.0** 2026-08-20 **General**… Configure a custom OpenTelemetry collector Claude Documentation · in the page office-agents/opentelemetry …or because the conversation was reset) | The add-in requests prompt caching on every call. Cache token attributes are set from the provider's response and omitted when the provider does not return t… Deploy with a bootstrap server Claude Documentation · in the page third-party/claude-desktop/bootstrap …equest, so an unchanged configuration costs your server a `304` (see [Caching and `expiresAt`](#caching-and-expiresat)). Releases before 1.46388.1 re-check every 30 minutes and ignore `configRecheckIn… Write a credential helper Claude Documentation · in the page third-party/claude-desktop/credential-helper …ched from the Dock or Finder rather than a terminal. ## Timeouts and caching The helper's output is cached for `inferenceCredentialHelperTtlSec` seconds (default 3600). Claude Desktop checks the cac… Deploy Claude Desktop on 3P with an LLM gateway Claude Documentation · in the page third-party/claude-desktop/gateway …nferenceModels` explicitly. The gateway should also preserve [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching). Cowork and Code sessions send `cache_control` brea… Filesystems Charter Model Context Protocol · in the page community/working-groups/filesystems …concurrency control, and the interaction with change notification and caching. ## Scope ### In Scope * **Specification Work**: One Extensions Track SEP, provisionally titled Filesystem Operations f… Roadmap Model Context Protocol · in the page development/roadmap …retaining the security and lifecycle guarantees of a subprocess. * **Caching**: Transports WG. The most recent protocol revision made strides toward caching, adding `ttlMs` and `cacheScope` to list r… Client Best Practices Model Context Protocol · in the page docs/2024-11-05/develop/clients/client-best-practices …can reason about related capabilities. | ### Interaction with Prompt Caching Most providers cache the prompt prefix, including the `tools` array. Adding or removing tool definitions mid-conversation… Client Best Practices Model Context Protocol · in the page docs/2025-03-26/develop/clients/client-best-practices …can reason about related capabilities. | ### Interaction with Prompt Caching Most providers cache the prompt prefix, including the `tools` array. Adding or removing tool definitions mid-conversation… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices …can reason about related capabilities. | ### Interaction with Prompt Caching Most providers cache the prompt prefix, including the `tools` array. Adding or removing tool definitions mid-conversation… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …can reason about related capabilities. | ### Interaction with Prompt Caching Most providers cache the prompt prefix, including the `tools` array. Adding or removing tool definitions mid-conversation… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …rce server so the model can reason about related capabilities. | ### Caching Each list result (such as `tools/list`), as well as each `server/discover` and `resources/read` result, carries `ttlMs` a… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …ters The result is marked `"resultType": "complete"` and carries two caching fields. `ttlMs` is a freshness hint in milliseconds, so this tool list can be cached for five minutes. `cacheScope` indica… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …rce server so the model can reason about related capabilities. | ### Caching Each list result (such as `tools/list`), as well as each `server/discover` and `resources/read` result, carries `ttlMs` a… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …ters The result is marked `"resultType": "complete"` and carries two caching fields. `ttlMs` is a freshness hint in milliseconds, so this tool list can be cached for five minutes. `cacheScope` indica… Skills Model Context Protocol · in the page extensions/skills/overview …pagination](/specification/draft/server/utilities/pagination.md) and [caching](/specification/draft/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id": 1,… SEP-1577: Sampling With Tools Model Context Protocol · in the page seps/1577--sampling-with-tools …ates Two bits needed here: * Introduce cache awareness * Implicit caching guidelines phrased as SHOULDs * Explicit cache points and TTL semantics [as in the Claude API](https://docs.claude.com/e… SEP-1865: MCP Apps - Interactive User Interfaces for MCP Model Context Protocol · in the page seps/1865-mcp-apps-interactive-user-interfaces-for-mcp …ion of presentation (template) from data (tool results), facilitating caching * Security review of UI resources **Alternatives considered:** * **Embedded resources:** Current MCP-UI approach, where… SEP-2127: MCP Server Cards - HTTP Server Discovery Model Context Protocol · in the page seps/2127-mcp-server-cards …ation. The media types, catalog format, and browser-oriented CORS and caching guidance are specified in [`docs/discovery.md`](https://github.com/modelcontextprotocol/experimental-ext-server-card/blob/… SEP-2549: TTL for List Results Model Context Protocol · in the page seps/2549-TTL-for-list-results …2549) | *** ## Abstract This SEP proposes adding fields to support caching result objects returned by `tools/list`, `prompts/list`, `resources/list`, `resources/read`, and `resources/templates/list… SEP-2567: Sessionless MCP via Explicit State Handles Model Context Protocol · in the page seps/2567-sessionless-mcp …common case. The Python SDK's own design issue for client-side list caching lists "what is the cache key — per-session or per-server-URL?" as an open question,[^py-sdk-cache] and gateway implementer… SEP-2640: Skills Extension Model Context Protocol · in the page seps/2640-skills-extension …er, `skills/list` results additionally carry the base protocol's list-caching attributes ([SEP-2549]). ### Skill Format A skill served over MCP MUST conform to the [Agent Skills specification](https… Key Changes Model Context Protocol · in the page specification/2026-07-28/changelog …ools from `tools/list` in a deterministic order to enable client-side caching and improve LLM prompt cache hit rates. 4. Require standard MCP request headers (`Mcp-Method`, `Mcp-Name`) on Streamable H… Discovery Model Context Protocol · in the page specification/2026-07-28/server/discover …otocol versions, capabilities, and identity. This operation supports [caching](/specification/2026-07-28/server/utilities/caching.md). ```json theme={null} { "jsonrpc": "2.0", "id": "discover-1",… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …ation](/specification/2026-07-28/server/utilities/pagination.md) and [caching](/specification/2026-07-28/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id":… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …ation](/specification/2026-07-28/server/utilities/pagination.md) and [caching](/specification/2026-07-28/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id":… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …ation](/specification/2026-07-28/server/utilities/pagination.md) and [caching](/specification/2026-07-28/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id":… Discovery Model Context Protocol · in the page specification/draft/server/discover …otocol versions, capabilities, and identity. This operation supports [caching](/specification/draft/server/utilities/caching.md). ```json theme={null} { "jsonrpc": "2.0", "id": "discover-1", "r… Prompts Model Context Protocol · in the page specification/draft/server/prompts …pagination](/specification/draft/server/utilities/pagination.md) and [caching](/specification/draft/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id": 1,… Resources Model Context Protocol · in the page specification/draft/server/resources …pagination](/specification/draft/server/utilities/pagination.md) and [caching](/specification/draft/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id": 1,… Tools Model Context Protocol · in the page specification/draft/server/tools …pagination](/specification/draft/server/utilities/pagination.md) and [caching](/specification/draft/server/utilities/caching.md). **Request:** ```json theme={null} { "jsonrpc": "2.0", "id": 1,…
Feedback