What is prefix caching?
Reusing the KV cache of a shared prompt prefix across requests.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Serving reasoning models, agents and RL rollouts · 18 min · Pro
- Capstone: design a production inference platform · 35 min · Pro
- Case study: serving a trillion-parameter hybrid MoE (Kimi K3) · 20 min · Pro
- Engines compared from the inside: llama.cpp, vLLM, SGLang, TGI, TensorRT-LLM, Dynamo · 15 min · free
- Long-context serving: KV memory, prefill cost, context parallelism and cheaper attention · 17 min · Pro
- Caching: prefix caching, semantic caching and KV offload · 14 min · Pro
- Non-determinism and batch invariance: why temperature 0 is not repeatable · 15 min · Pro
- Batch and offline inference at scale · 16 min · Pro