I'm trying to build a fast proxy-ish web server on a raspberry pi. I want it to render my ruby code according to a schedule, then serve the static page to the client (iphone / laptop on local network). I know that rails will cache via
http://guides.rubyonrails.org/caching_with_rails.html#page-caching
So, one solution could be to use cron on the raspberry pi to schedule the cache update...Is there a better way? Can I force rails to update the cache autonomously at certain times of day??