--- title: Pragma slug: Web/HTTP/Headers/Pragma tags: - Deprecated - HTTP - 삭제됨 - 요청 - 캐싱 - 헤더 translation_of: Web/HTTP/Headers/Pragma ---
{{HTTPSidebar}}

HTTP/1.0 의 Pragma  헤더는 요청-응답 체인에 다양한 영향을 줄 수 있는 구현관련 헤더이다. 이것은 HTTP/1.0 버전에서 HTTP/1.1 버전의 Cache-Control 헤더가 생기기 전 그것과 동일한 역할을 하는 대용 헤더로 사용되었다.

Note: Pragma 는 HTTP 응답에서 명시되지 않았던 헤더여서 일반적인  HTTP/1.1 의 Cache-Control 헤더의 신뢰할만한 대체재로 사용될수는 없다.  비록 그것이 응답에서  Cache-Control 헤더가 생략되었을 시, Cache-Control: no-cache 와 동일하게 효과를 주긴 하지만 말이다. Pragma 헤더는 HTTP/1.0  를 사용하는 클라이언트들만을 위한 비공식적인 호환성을 위해서 사용하는것이 옳다.

Header type {{Glossary("General header")}}, 그러나 응답 동작은 정해지지 않아서 구현 방식에 따른다.
{{Glossary("Forbidden header name")}} 아님
{{Glossary("Simple response header", "CORS-safelisted response-header")}} 맞음

문법

Pragma: no-cache

디렉티브

no-cache

 Cache-Control: no-cache 와 같다. 캐시가 캐시 복사본을 릴리즈 하기전에 원격 서버로 요청을 날려 유효성 검사를 강제하도록 한다.

예제

Pragma: no-cache

세부사항

Specification Title
{{RFC("7234", "Pragma", "5.4")}} Hypertext Transfer Protocol (HTTP/1.1): Caching

브라우저 호환성

{{Compat("http.headers.Pragma")}}

그외 볼것들