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

2 pages for force_prompt_caching_5m.

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

How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …ontrol applies, Claude Code takes the first match in this order: 1. `FORCE_PROMPT_CACHING_5M=1`, which forces five minutes for both buckets 2. The bucket's environment variable 3. The bucket's settin… All settings Claude Code CLI · in the page settings-reference …aching.md#which-ttl-each-request-gets) * **Per-session overrides**: [`FORCE_PROMPT_CACHING_5M`](/docs/en/env-vars) takes precedence over everything else, then [`CLAUDE_CODE_PROMPT_CACHE_TTL`](/docs/en…
Feedback