Netflix interview question

How would you implement a caching proxy server ?