field Deprecated
Verified 2026-09-18 · registry updated 2026-08-28

Pragma

A legacy HTTP/1.0 compatibility field, mainly used with the no-cache directive.

Prefer Cache-Control for modern cache policy. Keep Pragma only when a legacy client requires it and understand that it is deprecated in the IANA registry.

httpheadercachedeprecated

Reference (http)

Pragma: no-cache

Prefer Cache-Control for modern cache policy. Keep Pragma only when a legacy client requires it and understand that it is deprecated in the IANA registry.

Common mistakes

  • Using Pragma as the only modern way to prevent sensitive response storage.

IANA registry: http-fields/field-names

Registry reference: RFC 9111, Section 5.4: HTTP Caching

Permalink: https://merginit.com/reference/http/field-pragma