Computer Science

Cache, explained

A cache stores recently or frequently used data in a faster location so future access is quicker.
Back to Glossary

Part of the Semantic Notion technical glossary.

Short Definition

A cache stores recently or frequently used data in a faster location so future access is quicker.

Intuition

A cache keeps likely-needed information close by to avoid repeating expensive work.

Technical Definition

Caching is a storage strategy that trades memory and invalidation complexity for lower access latency or reduced recomputation.

Example

A web app may cache API responses to avoid repeated database queries.

Common Misunderstandings

Caches create consistency and invalidation problems.
A stale cache can be worse than no cache for some data.

Start here

Need the broader concept map?

Return to the glossary index to move from this definition into adjacent AI, ML, mathematics, and computer science terms.