lookup> Cache-Control

Cache-Control

is used to specify directives for caches along the request/response chain.

通用头RFC7234#7.2
NameCache-Control
Type通用头
SpecificationRFC7234#7.2

is used to specify directives for caches along the request/response chain.

Cache-Control: max-age=3600

RFC7234#7.2

no-cacheno-storemax-age=3600publicprivate

What does the Cache-Control header do?

is used to specify directives for caches along the request/response chain.

Is Cache-Control a request or response header?

It is classified as a general header and can appear in requests or responses depending on context.

Related status codes

Related headers