©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
Expires
标头包含的日期/时间之后,响应被视为失效。
无效的日期(如值0)代表过去的日期,表示资源已过期。
如果Cache-Control
响应中包含带有“max-age”或“s-max-age”指令的Expires
标题,则标题将被忽略。
Header type | Response header |
---|---|
Forbidden header name | no |
CORS-safelisted response-header | yes |
Expires: <http-date>
<http-date>
一个 HTTP 日期时间戳。
Expires: Wed, 21 Oct 2015 07:28:00 GMT
Specification | Title |
---|---|
RFC 7234, section 5.3: Expires | Hypertext Transfer Protocol (HTTP/1.1): Caching |
Feature | Chrome | Firefox | Edge | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |