{"version":"2.1.318","anchor":"prompt-cache-ttl-treats-resume-cache-warm-like-sdk","canonical_anchor":"prompt-cache-ttl-treats-resume-cache-warm-like-sdk","heading":"Cache-warming requests on resume follow the same cache rules as SDK requests","tier":"internal","area":"Prompt Caching","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/prompt-cache-ttl-treats-resume-cache-warm-like-sdk","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### Cache-warming requests on resume follow the same cache rules as SDK requests\n\nRequests that warm the prompt cache when a session resumes now get their cache length under the same rules as SDK requests\n\n**What**\n\nWhen you resume a session, Claude Code can send a request to warm the prompt cache, which is the servers keeping the earlier part of a conversation so it does not have to be processed again. These requests are now treated as SDK requests when Claude Code decides how long the cache should last. The SDK is the toolkit for running Claude Code from your own programs.\n\nSo the override, the allowed list, and the choice between 1 hour and 5 minutes now apply to resume warming the same way they apply to SDK requests. Before, these requests went through the allowed-list check under their own name.\n\n**Why**\n\nThis changes how long the cache lasts after a resume, which affects cost and how quickly replies come back.\n\n- Flag `tengu_prompt_cache_1h_config`: Not enough to say (read for one account on one subscription tier against v2.1.318; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_tidy_frost`: Not enough to say (read for one account on one subscription tier against v2.1.318; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Prompt Caching\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}