You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
Compaction is when Claude Code shrinks a long conversation by replacing older parts with a summary. Claude Code can sometimes prepare that summary in advance. Before this change, a summary prepared in advance was only used when compaction was started because the session was idle, because the conversation had grown past a size limit, or because the prompt had become too long. Now it can also be used when compaction is started because the cache expired, provided the summary is ready. The cache is the model provider's short-term memory of the conversation so far.
Why
This could make compaction faster after the cache expires, because the summary does not have to be written at that moment.