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