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