Programming.com interview question

Explain How Caching works in Rails