Warming the prompt cache on resume is reworked and reaches more sessions
Cache warming when a session resumes gets new rules, limits and refusal reasons, can run outside the desktop app, and has a trial run in cloud containers
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Prompt CacheArea: what it touches
In DevelopmentKind: in v2.1.333,
What probably matters to youSection of the release
What
When you resume a session, Claude Code can send the conversation ahead of time so the prompt cache, a stored copy of earlier messages that makes later requests faster, is ready. How it decides to do this changed:
It reads an outsideDesktop setting with the values shadow or on, so it can apply to sessions outside the desktop app.
New refusal reasons cover a conversation that is too large, a chat inside a Project, and a hold while an idle summary is pending.
The warming request can end on the last reply and can skip writing the cache when a condition holds.
Its remotely delivered configuration gains contextTokenLimits, percentPerMillionTokens, weeklyPercentPerMillionTokens, carriesLocalFiles and endsOnTheLastReply. Before, it held only holdMs, minRestMs, minContextTokens and longContextModels. The old environment-variable exclusions in that configuration are dropped, while CLAUDE_CODE_RESUME_CACHE_WARM is still referenced. Nothing has been read about the switch tengu_typing_cache_warm.
A held upload now records why it was not sent, for example while waiting for cache warming.
In remote sessions, a new timer makes a trial decision after the session has rested, controlled by tengu_noble_dove with entry points, a minimum rest time and a minimum conversation size. It is skipped when CLAUDE_CODE_RESUME_CACHE_WARM is false or CLAUDE_CODE_EXTRA_BODY is set, and in this trial mode it sends nothing. Nothing has been read about tengu_noble_dove.
Why
Resumed sessions, including ones in the terminal and in cloud containers, may now have their cache prepared ahead of time, within limits on conversation size and usage. Setting CLAUDE_CODE_RESUME_CACHE_WARM to false still turns this off.
Read from
Feature flag
tengu_noble_doveNot enough to say
Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.333: 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.