Popularity
1.5
Growing
Activity
1.9
-
84
3
1

Description

"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.

Monthly Downloads: 786
Programming language: Ruby
License: MIT License
Tags: Caching     Activerecord     Engine     Gem    

FastEntry alternatives and similar gems

Based on the "Caching" category

Do you think we are missing an alternative of FastEntry or a related project?

Add another 'Caching' Gem

README

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"

Note: If you're using Rails < 5.1, please add gem "rails-ujs" to your Gemfile.

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


*Note that all licence references and agreements mentioned in the FastEntry README section above are relevant to that project's source code only.