{"version":"2.1.227","anchor":"module-level-caches-became-resettable-session-state","canonical_anchor":"module-level-caches-became-resettable-session-state","heading":"Module-level caches became resettable session state","tier":"internal","area":"Session State","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/module-level-caches-became-resettable-session-state","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Module-level caches became resettable session state\n\nLong-lived caches now clear per session or fork rather than lasting the whole process.\n\n**What**\n\nDozens of long-lived caches now hang off a session state object with a reset method, so they can be cleared per session or fork instead of living for the whole process.\n\n**Details**\n\n- Covers the install-latest in-flight promise, task-list leader name, artifact live, auto-react and wake registries, clipboard probe results, gitignore pattern compile caches, the plugin activity ring buffer, marketplace tip caches, the plugin flag cache, session title and agent-name events, and the background-result-seen channel.\n\n**Evidence**\n\n`resetMarketplaceCaches`\n\n- Area: Session State\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}