Caching is implemented using memcached server. The application interacts with the memcached server using the Dalli client (https://github.com/mperham/dalli).

On staging and production environment, caching is enabled.

In case you need to use caching in the development environment as well, then make sure that in the config/environment/development.rb file,

config.action_controller.perform_caching = true 

Also add the below two lines to development.rb

require 'active_support/cache/dalli_store23'
config.cache_store = :dalli_store

To clear the cache, run script/console and run the following command

Rails.clear.cache