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