Simplify and optimize CacheManager implementation

We don't need to index the data.