Tango interview question

How will you implement the image in-memory cache?