Redis storage backend for BasicCache
require 'basiccache' require 'redisstore' store = .(host: '126.96.36.199', port: 1234) cache = BasicCache.new store
Your options when creating the store are passed off to redis-rb, so you can provide whichever other options you'd like, such as specifying a unix socket or authentication details. Similarly, if your Redis instance is on localhost:6379, you don't need to specify anything.
gem install redisstore
redisstore is released under the MIT License. See the bundled LICENSE file for details.