FileCache
Simple caching utility that persists arbitrary data in files.
Install
$ gem install file_cache -s gems.github.com
Dependencies
none
How to use
Just include the FileCache module and use the provided file_cache
method
file_cache :the_name_of_the_action_you_execute do #some stuff that should be cached, an external API call f.e. end
The block you are providing is only executed if there is no cache-data provided or if the cache is expired.