Use MRU cache with size limit.