a cache system that uses both mem and hd