-
Notifications
You must be signed in to change notification settings - Fork 8k
/
index.md
62 lines (46 loc) · 1.76 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
title: Pragma
slug: Web/HTTP/Headers/Pragma
---
{{HTTPSidebar}}
HTTP/1.0 의 **`Pragma`** 헤더는 요청-응답 체인에 다양한 영향을 줄 수 있는 구현관련 헤더이다. 이것은 HTTP/1.0 버전에서 HTTP/1.1 버전의 `Cache-Control` 헤더가 생기기 전 그것과 동일한 역할을 하는 대용 헤더로 사용되었다.
> **참고:** `Pragma` 는 HTTP 응답에서 명시되지 않았던 헤더여서 일반적인 HTTP/1.1 의 `Cache-Control` 헤더의 신뢰할만한 대체재로 사용될수는 없다. 비록 그것이 응답에서 `Cache-Control` 헤더가 생략되었을 시, `Cache-Control: no-cache` 와 동일하게 효과를 주긴 하지만 말이다. `Pragma` 헤더는 HTTP/1.0 를 사용하는 클라이언트들만을 위한 비공식적인 호환성을 위해서 사용하는것이 옳다.
<table class="properties">
<tbody>
<tr>
<th scope="row">Header type</th>
<td>
{{Glossary("General header")}}, 그러나 응답 동작은 정해지지
않아서 구현 방식에 따른다.
</td>
</tr>
<tr>
<th scope="row">{{Glossary("Forbidden header name")}}</th>
<td>아님</td>
</tr>
<tr>
<th scope="row">
{{Glossary("Simple response header", "CORS-safelisted response-header")}}
</th>
<td>맞음</td>
</tr>
</tbody>
</table>
## 문법
```
Pragma: no-cache
```
## 디렉티브
- no-cache
- : `Cache-Control: no-cache` 와 같다. 캐시가 캐시 복사본을 릴리즈 하기전에 원격 서버로 요청을 날려 유효성 검사를 강제하도록 한다.
## 예제
```
Pragma: no-cache
```
## 명세서
{{Specifications}}
## 브라우저 호환성
{{Compat}}
## 그외 볼것들
- {{HTTPHeader("Cache-Control")}}
- {{HTTPHeader("Expires")}}