instance method
caching_allowed?
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
caching_allowed?()
No documentation comment.
Source
# File actionpack/lib/action_controller/caching.rb, line 70
def caching_allowed?
request.get? && response.status == 200
end
Defined in actionpack/lib/action_controller/caching.rb line 70
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Caching