Guide, 9 minutes
How to keep the KV cache across restarts
When a vLLM or SGLang server restarts, its cache is gone and the first requests pay full prefill again. The guide covers every option we know of, what each one needs, and what survives.
- Why a restart empties the cacheWhat the engine process owns, and what sits outside it.
- Seven ways to keep itvLLM tiers, SGLang HiCache L3, LMCache, PegaFlow, Lifeboat Cache, Mooncake and KVStash, each with what its docs say.
- A measured restartSGLang restarted mid-test with the store kept running, plus the failure cases.
- A production checklistPrompt order, cache identity, sizing, warm-up, failure handling and monitoring.