{"version":"2.1.307","anchor":"idle-compaction-now-has-two-cache-kinds-one-hour-and-keepal","canonical_anchor":"idle-compaction-now-has-two-cache-kinds-one-hour-and-keepal","heading":"Idle compaction can also act on keepalive caches, not only one-hour ones","tier":"soon","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307\/e\/idle-compaction-now-has-two-cache-kinds-one-hour-and-keepal","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307","markdown":"### Idle compaction can also act on keepalive caches, not only one-hour ones\n\nIdle compaction now covers two cache types, one-hour and keepalive, each with its own setting, and its notice no longer says \"after an hour idle\"\n\n**What**\n\nIdle compaction now handles two kinds of prompt cache, where it used to check only one:\n\n- the one-hour cache\n\n- a keepalive cache, which is held open while you are away\n\nEach kind has its own remotely controlled setting, and both are off unless switched on remotely. `CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS` still applies.\n\nThe notice now reads \"Compacted using a summary written while you were away\", without \"after an hour idle\".\n\n**Why**\n\nIdle compaction can now apply when the cache is held by a keepalive and not only when it lasts one hour, which is why the notice no longer mentions an hour.\n\n- Flag `tengu_sunny_locket`: Not enough to say (read for one account on one subscription tier against v2.1.307; 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- Area: Compaction\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}