Request 2 caches its request content (not the response) changedbuild-with-claude/prompt-caching
Nearest release: v2.1.304, published under an hour after 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+8added
Lines−9removed
From line
38
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 38, old and new numbered
/
from line 38
3838 ```
3939
4040 ```bash CLI
41 ant messages create --transform usage <<'YAML'
41 ant messages create <<'YAML'
4242 model: claude-opus-5-5
4343 max_tokens: 1024
4444 cache_control:
from line 303
303303 ```
304304
305305 ```bash CLI
306 ant messages create --transform usage <<'YAML'
306 ant messages create <<'YAML'
307307 model: claude-opus-5-5
308308 max_tokens: 1024
309309 cache_control:
from line 929
929929 ```
930930
931931 ```bash CLI
932 ant messages create \
933 --transform '{stop_reason,content,usage}' --format yaml <<'YAML'
932 ant messages create <<'YAML'
934933 model: claude-opus-5-5
935934 max_tokens: 0
936935 system:
from line 1183
11841183
11851184 ```bash CLI
11861185 # Warm the cache at application startup or on a scheduled interval.
1187 ant messages create --transform usage <<'YAML'
1186 ant messages create <<'YAML'
11881187 model: claude-opus-5-5
11891188 max_tokens: 0
11901189 system:
from line 1199
12001199 YAML
12011200
12021201 # Later, when the user submits a message, the system-prompt prefix is already cached.
1203 ant messages create --transform 'content.#(type=="text").text' --raw-output <<'YAML'
1202 ant messages create <<'YAML'
12041203 model: claude-opus-5-5
12051204 max_tokens: 1024
12061205 system:
from line 1581
15821581 ```
15831582
15841583 ```bash CLI
1585 ant messages create --transform usage <<'YAML'
1584 ant messages create <<'YAML'
15861585 model: claude-opus-5-5
15871586 max_tokens: 1024
15881587 system:
from line 1905
19061905 ```
19071906
19081907 ```bash CLI
1909 ant messages create --transform usage <<'YAML'
1908 ant messages create <<'YAML'
19101909 model: claude-opus-5-5
19111910 max_tokens: 1024
19121911 system:
from line 2364
23652364 ```
23662365
23672366 ```bash CLI
2368 ant messages create --transform usage <<'YAML'
2367 ant messages create <<'YAML'
23692368 model: claude-opus-5-5
23702369 max_tokens: 1024
23712370 tools:
No line in this hunk matches that.