Batch page re-caching

I use Rails page caching in my app. I have a requirement to be able to generate all of the cached pages on demand. To do this, I build collection of URLs for the cached pages and for each one, I expire the page, then execute Net::HTTP.get(URI.parge(url)).

This works, but does anyone know of a way to generate the cached pages without making a network call?

Thanks, Jeff

BTW, I'm using Rails 2.3.9.