# Exact caching

> Exact caching: Storing whole answers and returning one only when exactly the same query is asked again.

Canonical: https://llmdojo.dev/glossary/exact-caching

Also called exact cache.

Storing whole answers and returning one only when exactly the same query is asked again.

Learn it in the lesson: [Caching whole answers](https://llmdojo.dev/learn/inference-optimization/caching-repeated-work/caching-answers) (Inference and Model Optimization · Caching Repeated Work: Prompts, Prefixes and Answers).

## Related
- [Prompt caching](https://llmdojo.dev/glossary/prompt-caching)
- [Semantic caching](https://llmdojo.dev/glossary/semantic-caching)
- [Glossary of every term](https://llmdojo.dev/glossary)
