--- title: Expires slug: Web/HTTP/Headers/Expires translation_of: Web/HTTP/Headers/Expires ---
Expires
헤더는 응답이 더 이상 신선하지 않다고 판단할 날짜/시간을 포함합니다.
0과 같은, 유효하지 않은 날짜는 과거의 시간을 나타내어 리소스가 이미 만료되었음을 의미합니다.
응답 내에 "max-age" 혹은 "s-max-age" 디렉티브를 지닌 {{HTTPHeader("Cache-Control")}} 헤더가 존재할 경우, Expires
헤더는 무시됩니다.
Header type | {{Glossary("Response header")}} |
---|---|
{{Glossary("Forbidden header name")}} | no |
{{Glossary("Simple response header", "CORS-safelisted response-header")}} | yes |
Expires: <http-date>
HTTP-date timestamp.
Expires: Wed, 21 Oct 2015 07:28:00 GMT
명세 | 제목 |
---|---|
{{RFC("7234", "Expires", "5.3")}} | Hypertext Transfer Protocol (HTTP/1.1): Caching |
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
{{Compat}}