Implementing ChunkCache