Skip to main content

Cache

A cache keeps data or computation results in a faster storage layer so repeated work can be avoided.

The first useful taxonomy split is:

  • Local cache — fastest access, but isolated to one process or host.
  • Distributed cache — shared across instances, but adds network and coordination costs.