Both
HTTP Pragma Header
HTTP/1.0 header for implementation-specific directives. Mostly replaced by Cache-Control in HTTP/1.1. The most common usage is Pragma: no-cache.
Purpose
Backward-compatible way to request that caches not serve a cached response. Superseded by Cache-Control in modern HTTP.
Pragma: no-cache Note: Prefer Cache-Control: no-cache for HTTP/1.1+
Code Examples
See how to use the Pragma header in different tools and languages.
Related Headers
Test Your APIs
pragma headerhttp pragmahttp headers guide