class CacheControlDirectives
Ruby on Rails 8.1.2
Since v8.1.2Represents the HTTP Cache-Control header for requests, providing methods to access various cache control directives Reference: www.rfc-editor.org/rfc/rfc9111.html#name-request-directives
Inherits from
Attributes
Methods (defined here)
- # max_stale?
- # max_stale_unlimited?
- # no_cache?
- # no_store?
- # no_transform?
- # only_if_cached?
- self. new
Private methods
(1)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs