outline of cache read/write hit/miss