class

ActionDispatch::Http::Cache::Request::CacheControlDirectives

rails latest stable - Superclass: Object

Class not available on this version

This class is only available on newer versions. The first available version (v8.1.1) is shown here.

Represents 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

Attributes

[R]max_age
[R]max_stale
[R]min_fresh
[R]stale_if_error

Files

  • actionpack/lib/action_dispatch/http/cache.rb