An LRU cache moves accessed entries to the recent end and evicts from the old end.

An LRU cache evicts the least recently used entry

LRU chooses a victim by recency, not by popularity, age, or business importance. When a bounded cache needs space, an exact least-recently-used policy removes the entry whose last qualifying access occurred longest ago. That rule can exploit temporal locality, but it neither guarantees useful hits nor keeps cached data fresh. ...

November 12, 2027 · 5 min · XB Field Notes