A cache hit occurs when a requested item is already stored in the cache. In an LRU cache, updating that item moves its list node to the front so its recent use is preserved. section 7.4.2
An LRU cache handles a hit by:
- Looking up the key in a hash table and retrieving its linked-list node. section 7.4.2
Updating an existing entry
Looking up “EvilCorp” produces a cache hit. Its stored data is updated, the node is detached from the list, and the node is placed at the front.


