July 5, 2008 cache rails - 0 comments

Rails.cache rocks, but it can be tricky to set it up for development mode. For my purposes I need to:

  • Keep config.cache_classes to false so that I don't have to restart my server while I develop
  • Cache all kinds of objects, not just strings
  • Be able to invalidate the cache easily from cron scripts or other offline processes
  • Test caching locally before deploying

Tags