Question d’entretien chez LotusFlare

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