Flowdock
method

set_conditional_cache_control!

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Response
set_conditional_cache_control!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/response.rb, line 201
      def set_conditional_cache_control!
        if headers['Cache-Control'] == DEFAULT_HEADERS['Cache-Control']
          headers['Cache-Control'] = 'private, max-age=0, must-revalidate'
        end
      end
Register or log in to add new notes.