RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Easy Rails cache expiry

Cache expiry can be a bit complicated to setup with memcache, but I’ve released a very small plugin that adds simple cache expiry to the rails filestore cache, no extra processes required - perfect for shared hosting (or lazy coders). E.g. cache({:controller => ‘mycontroller’, etc.}, {:expires_in => 1.day}). So easy it’s (not) a crime. Get it here: http://github.com/adamsalter/filestore_expires_in-plugin

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in