title: Rails: Scheduled task to warm up the cache?
body: <p>I am using the following to cache a slow loading page using memcached:</p>
  
  <pre><code>caches_action :complex_report, :expires_in =&gt; 1.day
  </code></pre>
  
  <p>The controller action is protected by Devise authentication.</p>
  
  <p>The page currently gets cached the first time a user requests it. Subsequent request that day are then pulled from the cache.</p>
  
  <p>The problem with this is that the initial request takes 20-30 seconds to load. Is it possible to populate the cache in advance by way of a scheduled task?</p>
  
  <p>Any suggestions much appreciated.</p>