Caching Pattern

Noun · Development

Definitions

  1. A recurring approach to caching such as cache-aside, write-through, write-behind, read-through, or refresh-ahead. Different caching patterns make different tradeoffs around freshness, complexity, failure behavior, and how much application code must know about the cache.

    In plain English: A common way of structuring how caching works in an application.

    Example: "They moved from ad hoc memoization to a formal cache-aside caching pattern so invalidation rules lived in one place instead of being scattered across handlers."

Related Terms