instance method caching_allowed?

Ruby on Rails 3.2.22.5

Since v3.0.20 Last seen in v3.2.22.5

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

caching_allowed?()

No documentation comment.

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

Defined in actionpack/lib/action_controller/caching.rb line 72 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Caching

Type at least 2 characters to search.

↑↓ navigate · open · esc close