Why editing a Claude message kills your prompt cache: SWA checkpointing?
YouJiacheng · x · 2026-12-06
Developer OliverPDev reports that reverting and rewriting a message on Claude invalidates the prompt cache for prior messages, filing a bug days ago with no fix. YouJiacheng speculates the cause is 'probably SWA checkpointing' — sliding-window attention checkpointing making edits bust the cache. An interesting technical guess about caching mechanics and its cost implications.
More from coding & agent
- Agent orchestration is fatiguing engineers — and 'chief of staff' agents are next — minhnguyen · 2026-12-06
- Dev shares full Gemini swarm build plan for a local site crawler: 8 parallel workers plus adversarial verification gates — gaganghotra_ · 2026-12-06
- Dev lets his agent set up Deadbolt straight from the repo: 'no bad UX anymore' — altryne · 2026-12-06
- Step-by-step: making an AI film with Scenario and ChatGPT, from characters to cost — aziz4ai · 2026-12-06
- Google AI Ultra spotted in OpenCode desktop app, fueling integration rumors — altryne · 2026-12-06
- Dev gives DeepSeek sudo to write Wi-Fi drivers after Claude refuses — haydendevs · 2026-12-06