5/16
Part 2 of 6 · Cache the shared promptLearn and do
A cache stays warm only while requests keep coming
Anthropic's cache lives 5 minutes by default, and every hit refreshes it for no extra charge. If 5 minutes is too short, a 1-hour lifetime costs more per write.
The cache lives 5 minutes and every hit restarts its clock. Requests come exactly every 4 minutes all day. How many of them miss?
Pick an answer above to see the rest
A prefix is requested 6 times an hour, at random, and its cache lives 5 minutes. About what share of requests hit?
Pick one to see what it prints.
Pick an answer above to see the rest