method
new
rails latest stable - Class:
ActionDispatch::Http::Cache::Request::CacheControlDirectives
new(cache_control_header)public
No documentation available.
# File actionpack/lib/action_dispatch/http/cache.rb, line 75
def initialize(cache_control_header)
@only_if_cached = false
@no_cache = false
@no_store = false
@no_transform = false
@max_age = nil
@max_stale = nil
@min_fresh = nil
@stale_if_error = false
parse_directives(cache_control_header)
end