Google interview question

design a cache, like that for modern computer