RailsCasts Pro episodes are now free!

Learn more or hide this

Philipp's Profile

GitHub User: wpp

Comments by Philipp


Hi Luke,

This is actually the problem caching is trying to solve. Instead of reading from your DB and rendering partials rails is smart enough to look for a cached file, which, if it exists, will be used for the response.

Only if information critical for the request has changed, will a new version be created.

Hope this helps.