Redis storage backend for BasicCache
require 'basiccache' require 'redisstore' store = .(host: '220.127.116.11', 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.