lookup> Pragma

Pragma

allows backwards compatibility with HTTP/1.0 caches, so that clients can specify a "no-cache" request that they will understand (as Cache-Control was not defined until HTTP/1.1).

通用头RFC7234#7.4
NamePragma
Type通用头
SpecificationRFC7234#7.4

allows backwards compatibility with HTTP/1.0 caches, so that clients can specify a "no-cache" request that they will understand (as Cache-Control was not defined until HTTP/1.1).

Pragma: no-cache

RFC7234#7.4

What does the Pragma header do?

allows backwards compatibility with HTTP/1.0 caches, so that clients can specify a "no-cache" request that they will understand (as Cache-Control was not defined until HTTP/1.1).

Is Pragma a request or response header?

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