Skip to content
AgenticAIWiki

← Chapter 70. Caching layers and multi-region

Cache layers and a standby region

missmissprefixexact hitsimilar hitfresh answerRequestResponse cacheexact matchSemantic cachesimilar matchPrompt cacheshared prefixModelregion AAnswer

Swipe to change step

Step 1 of 8. "Caching" means three different things in AI systems. A request checks each layer in turn, cheapest first. Request. Response cache (exact match), highlighted. Semantic cache (similar match), highlighted. Prompt cache (shared prefix), highlighted. Model (region A). Answer. arrow from Request to Response cache. arrow from Response cache to Semantic cache, labelled miss. arrow from Semantic cache to Prompt cache, labelled miss. arrow from Prompt cache to Model, labelled prefix. arrow from Response cache to Answer, labelled exact hit. arrow from Semantic cache to Answer, labelled similar hit. arrow from Model to Answer, labelled fresh answer.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.