Last-Modified

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015 .

Last-Modified 是一个响应首部,其中包含源头服务器认定的资源做出修改的日期及时间。它通常被用作一个验证器来判断接收到的或者存储的资源是否彼此一致。由于精确度比 ETag 要低,所以这是一个备用机制。包含有 If-Modified-Since If-Unmodified-Since 首部的条件请求会使用这个字段。

Header type Response header
<month>

"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" 之一(区分大小写)。

4 位数字表示的年份,例如 "1990" 或者"2016"。

两位数字表示的小时数,例如 "09" 或者 "23"。

<minute>

两位数字表示的分钟数,例如"04" 或者 "59"。

<second>

两位数字表示的秒数,例如 "04" 或者 "59"。

国际标准时间。HTTP 中的时间均用国际标准时间表示,从来不使用当地时间。