rails caching with redis – invalidation done right
in my last article about using redis as rails cache i used the redis ‘keys’ function to invalidate cache. as my readers noted, and i experienced myself, this is not a good idea if you plan on storing a few million keys in your redis-db. so today we’ll look at how to do this invalidation […]