The cache was not used efficiently when reading (behaving like a FIFO cache instead of an LRU cache).