Microsoft interview question

How to design a cache for a website