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