Request 2 caches its request content (not the response) changedbuild-with-claude/prompt-caching
Nearest release: v2.1.304, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−3removed
From line
1,293
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 1293, old and new numbered
/
from line 1293
12931293
12941294 // Later, when the user submits a message, the system-prompt prefix is already cached.
12951295 const response = await respond("How do I implement a binary search tree?");
1296 const textBlock = response.content.find(
1297 (block): block is Anthropic.TextBlock => block.type === "text"
1298 );
1296 const textBlock = response.content.find((block) => block.type === "text");
12991297 console.log(textBlock?.text);
13001298 ```
13011299
No line in this hunk matches that.