{"version":"2.1.333","anchor":"prompt-cache-aware-parallel-compaction-summary","canonical_anchor":"prompt-cache-aware-parallel-compaction-summary","heading":"Conversation summaries can be written in parallel parts when the prompt is cached","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/prompt-cache-aware-parallel-compaction-summary","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Conversation summaries can be written in parallel parts when the prompt is cached\n\nCompaction can now write its summary in several parts at once when the conversation is already in the prompt cache\n\n**Unclear.** Whether this parallel summary is actually used in this release is not stated.\n\n**What**\n\nCompaction is when Claude Code shortens a long conversation by summarising it, for example with `\/compact`. A new way of doing this splits the summary into parts that are written at the same time. It is used only after Claude Code checks that the conversation is in the prompt cache (a store on the API side that makes repeated text cheaper and faster to send).\n\nIt is not used when:\n\n- `DISABLE_PROMPT_CACHING` is set.\n\n- `CLAUDE_CODE_SLEEP_COMPACT` is set.\n\n- A teleport cache is in use.\n\n- The last reply shows no use of the cache.\n\nIt also falls back to the usual single summary in other cases, such as many user messages, a prompt that is not cached, or messages from different models.\n\n**Why**\n\nThis changes how summaries are produced and how they use the cache, which affects their speed and cost. Setting either environment variable above keeps the usual way.\n\n- Area: Compaction\n- Names: `\/compact`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}