instance method max_stale?

Ruby on Rails 8.1.2

Since v8.1.2

Signature

max_stale?()

Returns true if max-stale directive is present (with or without a value)

Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 127
          def max_stale?
            !@max_stale.nil?
          end

Defined in actionpack/lib/action_dispatch/http/cache.rb line 127 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Http::Cache::Request::CacheControlDirectives

Type at least 2 characters to search.

↑↓ navigate · open · esc close