Skip to content

Glossary: System Design Basics in C++

Cache invalidation

Also written: invalidation

Removing or updating a cached copy when the underlying data changes, so readers don't see stale data. A common approach is to write to the database and then erase the cached key.

Where the book teaches it

Related terms

TTL (time to live)