method
caching_allowed
v2.1.0 -
Show latest stable
- Class:
ActionController::Caching::Pages
caching_allowed()private
No documentation available.
# File actionpack/lib/action_controller/caching/pages.rb, line 149
def caching_allowed
request.get? && response.headers['Status'].to_i == 200
end