CachingHeaderTrait
Caching HTTP header names (RFC 9111).
Mixed into HttpHeader.
Tags
Table of Contents
Constants
- AGE : string = 'Age'
- `Age` — Estimated time in seconds since the response was generated (RFC 9111 §5.1).
- CACHE_CONTROL : string = 'Cache-Control'
- `Cache-Control` — Directives for caches along the request/response chain (RFC 9111 §5.2).
- EXPIRES : string = 'Expires'
- `Expires` — Date/time after which the response is considered stale (RFC 9111 §5.3).
- PRAGMA : string = 'Pragma'
- `Pragma` — Legacy HTTP/1.0 cache directive, superseded by `Cache-Control` (RFC 9111 §5.4).
- WARNING : string = 'Warning'
- `Warning` — Additional information about the status of a response (obsoleted by RFC 9111).
Constants
AGE
`Age` — Estimated time in seconds since the response was generated (RFC 9111 §5.1).
public
string
AGE
= 'Age'
CACHE_CONTROL
`Cache-Control` — Directives for caches along the request/response chain (RFC 9111 §5.2).
public
string
CACHE_CONTROL
= 'Cache-Control'
EXPIRES
`Expires` — Date/time after which the response is considered stale (RFC 9111 §5.3).
public
string
EXPIRES
= 'Expires'
PRAGMA
`Pragma` — Legacy HTTP/1.0 cache directive, superseded by `Cache-Control` (RFC 9111 §5.4).
public
string
PRAGMA
= 'Pragma'
WARNING
`Warning` — Additional information about the status of a response (obsoleted by RFC 9111).
public
string
WARNING
= 'Warning'