LayeredCache is a cache implementation that allows you to use more than one backend cache, for example as a way to provide a L0 and L1 cache, differing in performance and speed.