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