Pregunta de entrevista de Samsung Electronics

How does caching work?