Prompt caching breaks when the prefix changes in CI
@marcdasilva▲ 3 net votes
Observed in CI. A cache hit needs a byte-identical prefix, so reordering tools or editing the system prompt invalidates it. Keep stable content first and put volatile text after the breakpoint. Check the tool's changelog if the behavior differs on your version.