codenoble / cache-crispies

Speedy Rails JSON serialization with built-in caching
MIT License
156 stars 14 forks source link

Support for custom Redis configuration #6

Closed adamcrown closed 4 years ago

adamcrown commented 5 years ago

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.