1. A computer-implemented method, comprising: receiving a request to access a cache entry in a shared cache, the request referencing a synonym for the cache entry, a cache directory of the shared cache comprising, for each cache entry of the shared cache, a first-ranked synonym slot for storing a most recently used synonym for the cache entry and a second-ranked synonym slot for storing a second most recently used synonym for the cache entry; and based on receiving the request: writing contents of the first-ranked synonym slot for the cache entry to the second-ranked synonym slot for the cache entry; and writing the synonym referenced in the request to the first-ranked synonym slot for the cache entry.