Is it possible to check the value of:
config.action_controller.perform_caching
...from within ApplicationController?
I have some custom caching methods that should or shouldn't be called based on this value.
Is it possible to check the value of:
config.action_controller.perform_caching
...from within ApplicationController?
I have some custom caching methods that should or shouldn't be called based on this value.
ActionController::Base.perform_caching
returns true or false depending on whether the caching is enabled.