surrogate key

An extra label attached to cached items, such as product-42 or shop, so that every item with that label can be purged in one go.

In more detail

Pages and responses are tagged with the entities they contain. When product 42 changes, purging its tag removes exactly the affected entries and leaves the rest of the cache untouched.

Related terms

Taught in

References