Redis stores for Rack::Cache

Build Status Gem Version Build Status Code Climate

redis-rack-cache provides a Redis backed store for Rack::Cache, an HTTP cache. See the main redis-store readme for general guidelines.


ruby # Gemfile gem 'redis-rack-cache'


If you are using redis-store with Rails, consider using the redis-rails gem instead. For standalone usage:

```ruby # require ‘rack’ require ‘rack/cache’ require ‘redis-rack-cache’

use Rack::Cache, metastore: ‘redis://localhost:6379/0/metastore’, entitystore: ‘redis://localhost:6380/0/entitystore’ ```


First, get the project set up on your local machine:

bash git clone cd redis-rack-cache bundle install

You can run the following command to execute the test suite:

bash bundle exec rake test

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake

2009 - 2013 Luca Guidi -, released under the MIT license