Currently, the gem just uses Rails.cache but we'll want to take advantage of more advanced Redis methods in the future. So we should have configuration for the gem to optionally define it's own Redis connection. That would cover us if Rails.cache doesn't point to redis, or if a separate connection should be used for caching.
Currently, the gem just uses
Rails.cache
but we'll want to take advantage of more advanced Redis methods in the future. So we should have configuration for the gem to optionally define it's own Redis connection. That would cover us ifRails.cache
doesn't point to redis, or if a separate connection should be used for caching.