Implementing MRU cache strategy.