method
caching_allowed
rails latest stable - Class:
ActionController::Caching::Pages
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