Pregunta de entrevista de Amazon

Explain how caching works on different levels.