Are there any side effects of setting config.cache_store?

84 views Asked by At

Ruby on Rails offers different caching techniques (https://guides.rubyonrails.org/caching_with_rails.html)

I just want to save and fetch some data to Memcached. And I don't want to use Memcached for other types of Rails caching like page caching or SQL caching.

I added the next settings to the environment file: config.cache_store = :dalli_store. And now get worked Rails.cache.write and Rails.cache.read. That's all of I need for my task.

Can I be sure that Rails will not use :dalli_store storage for other internal mechanisms like SQL Caching.

0

There are 0 answers