Cache Manager
Mountable Rails engine to view your cache and manage the keys / cleanup cache.
Note: Currently tested with Filestore and Redis Cache store.
Installation
Add the Gem in your Gemfile
gem 'cache_manager'
And bundle
$ bundle install
Once installed, Mount the engine to your routes.rb
# routes.rb
Rails.application.routes.draw do
# your other routes
# snipped for brevity
mount CacheManager::Engine => "/cache_manager"
end
Usage
Once it's mounted you can access it via browser
http://localhost:3000/cache_manager
This brings you to the Landing page of cache manager. This Gives information about your Cache Stats
http://localhost:3000/cache_manager/keys
This Brings you to the page which lists all your Keys and you can delete them . Clicking on individual links will take you to the page which displays the Cache information.