method

caching_allowed

rails latest stable - Class: ActionController::Caching::Pages

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

caching_allowed()
private

No documentation available.

# File actionpack/lib/action_controller/caching/pages.rb, line 160
        def caching_allowed
          request.get? && response.status.to_i == 200
        end