instance method
max_stale_unlimited?
Ruby on Rails edge
Since v8.1.3.1Available in: v8.1.3.1 edge
Signature
max_stale_unlimited?()
Returns true if max-stale directive is present without a value (unlimited staleness)
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 136
def max_stale_unlimited?
@max_stale == true
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 136
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Request::CacheControlDirectives