instance method max_stale_unlimited?

Ruby on Rails 8.1.2

Since v8.1.2

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 132
          def max_stale_unlimited?
            @max_stale == true
          end

Defined in actionpack/lib/action_dispatch/http/cache.rb line 132 · 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