{
  "id": 23687917,
  "title": "2026-12-06: Are you caching things nobody will read?",
  "url": "https://urgent.news/2026/12/05/2026-12-06-are-you-caching-things-nobody-will-read",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T19:58:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/susheem-k/2026-12-06-are-you-caching-things-nobody-will-read-3f46"
  },
  "original_language": null,
  "account": "The paper \"Don't Break the Cache\" by Lumer et al. (PwC) investigates the benefits of prompt caching for long-horizon agentic tasks. The authors observe that agents make numerous API calls, with the context growing progressively. Until now, the value of provider prompt caching for this kind of work had not been measured. The study explores various approaches to determining what should be cached, across OpenAI, Anthropic, and Google, using a web research agent.\n\nThe research highlights that caching reduces API costs by 41-80% and improves time to first token by 13-31%. However, naive full-context caching can increase latency. The paper raises a question: should an agent cache all the text it sends or only the invariant part?\n\nThe authors present a simulation playground to explore these scenarios, allowing users to adjust the cache boundary and observe the resulting reads, writes, and costs. The simulation employs the concepts of KV cache (keys and values computed for each token), prefill (the model reading the prompt and building the KV cache), prefix (prompt from the first token up to a certain point), prompt caching (the model reusing work for a prefix in subsequent API calls), cache write/read (storing or reusing a prefix), cache miss (computation of a prompt part with no stored match), cache boundary (boundary up to which the prompt is cached), TTL (time to live of stored entries), TTFT (time to first token), and cache miss.\n\nThe authors use Deep Agents and the DeepResearch Bench to run tasks with a 10,000-token system prompt and a web search tool. They employ GPT-5.2, Claude Sonnet 4.5, Gemini 2.5 Pro, and GPT-4o models, conducting 40 sessions per model and mode, with different research questions. The agent maintains a system prompt of 10,000 tokens and three tool calls, each consisting of 300 tokens of assistant message and 2,000 tokens of results.\n\nThe four cache modes include no cache (baseline), full context caching, system prompt only, and exclude tool results after the system prompt and after each tool result. In strict prefix matching, the first UUID ends what can be reused. The paper suggests that explicit boundaries provide more predictable results, and some providers allow explicit caching through separate APIs, while others offer it implicitly at no extra cost or write surcharge.",
  "summary": "These are my notes from Lumer et al. (PwC), \"Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks\" (arXiv:2601.06007v2, 31 Jan 2026). The paper starts from the observation that agents make many API calls with a context that keeps growing, and that the value of provider prompt caching for this kind of work had not been measured. It compares ways of deciding what…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}