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