Skip to content
Cache management for Rails
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
lib
spec
.gitignore
Gemfile
MIT-LICENSE
README.md
Rakefile
fastentry.gemspec

README.md

FastEntry

Cache management for Rails applications.

There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton

FastEntry helps with the first. It comes with a web interface that can display the current state of your cache usage. Use it to view cache keys, inspect details or invalidate cached information.

Installation

Add this line to your application's Gemfile:

gem 'fastentry'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fastentry

Add the following to your config/routes.rb:

require "fastentry/engine"
mount Fastentry::Engine, at: "/fastentry"

Authentication

If you'd like to restrict access to this interface you can use constraints on your routes. Here's an example using Devise to authenticate an Admin before getting access to FastEntry:

require "fastentry/engine"
authenticate :admin do
  mount Fastentry::Engine, at: "/fastentry"
end

License

The gem is available as open source under the terms of the MIT License.

Author

Tiago Alves, @alvesjtiago, tiago @ rebase.studio

You can’t perform that action at this time.