instance method
cache_control_segments
Ruby on Rails 4.1.16
Since v4.0.13 PrivateSignature
cache_control_segments()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 97
def cache_control_segments
if cache_control = self[CACHE_CONTROL]
cache_control.delete(' ').split(',')
else
[]
end
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response