Can You Change an Agent’s Context Without Losing Its Prompt Cache?
A code-backed guide to inference state and API cache rules found that in a small Sonnet 5.5 test, changing an instruction near the start of a prompt caused a complete cache miss, while appending the n…