codenoble / cache-crispies

Speedy Rails JSON serialization with built-in caching
MIT License
156 stars 14 forks source link

Rake task to clear the cache #7

Closed adamcrown closed 4 years ago

adamcrown commented 5 years ago

There are times you may want to just clear the Redis cache. There should be an easy rake task to do this. It should be easy enough to do for everything generated my the gem, since there is a prefix. But we could also possibly have support for clearing out one serializer's keys.

adamcrown commented 4 years ago

This won't be able to support every cache store. So we'll just leave the Redis tip in the README for now.