Rack-regenerate is a project mainly written in Ruby, based on the MIT license.
Rack middleware for periodic cache regeneration
= Rack Regenerate
== Usage
In your rackup file, simply use Rack::Regenerate.
If you want a request periodically updated, just send back a header that looks like this: X-Cache-Regenerate: [interval in seconds] [number of times to call]
If for example you sent a header of X-Cache-Regenerate: 10 20 then the page will be called every 10 seconds 20 times.
If you want a regeneration job to run indefinitely, use -1 for the second argument.