Pregunta de entrevista de LotusFlare

How would you implement a basic cache, and what are the key challenges?