You just need a clear mind.
In development.rb change this:
config.action_controller.perform_caching = true
Then do the work and the test. It will write cached pages in /public , and fragments in /tmp/cache
Here are some great articles to understand caching in Rails:
http://broadcastingadam.com/2012/07/advanced_caching_revised
source share