Topic: Rebuilding page cache

Hi folks,

Does anyone know of a way to rebuild a Rails app's page cache from within the app?
It can be done with `wget --spider' but I was looking for a "Rails way" of doing this...


Re: Rebuilding page cache

I don't know, path of least resistance and all... I seem to remember DHH saying something about using a system call because it worked and took him 5 seconds to do versus figuring out how to implement it in Ruby. I say, if it works, then do it and move on to the next thing that can provide the most value. You can always come back and change it later if you really want wink

I'm a Phoenix Ruby on Rails developer and startup junkie kicking ass at Flatterline, a Ruby on Rails web application development company.