method
caching_allowed?
v3.2.13 -
Show latest stable
- Class:
ActionController::Caching
caching_allowed?()public
No documentation available.
# File actionpack/lib/action_controller/caching.rb, line 72
def caching_allowed?
request.get? && response.status == 200
end