cache read/store works