cache aside

A caching strategy where the application checks the cache, and on a miss reads the database and stores the result itself.

In more detail

It is the default because it is easy to reason about. Writers update the database and delete the key. Its weakness is the exposed miss path: a cold cache or expiry sends traffic straight to the origin.

Related terms

Taught in

References