Debug a Stuck Cache With a Simple Code Change
Partial caching is a great way to get some major page speed improvements without a lot of work. But if you forget a
touch: trueon one of your associations, or your template dependencies aren’t working right, your cached partials won’t get updated. Rails' development environment usually runs with caching disabled, so you'll need a simple way of enabling caching temporarily to investigate and reproduce your caching bugs.