Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Expires

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

The Expires header contains the date/time after which the response is considered stale.

Invalid dates, like the value 0, represent a date in the past and mean that the resource is already expired.

If there is a Cache-Control header with the "max-age" or "s-max-age" directive in the response, the Expires header is ignored.

Header type Response header
Forbidden header name no
CORS-safelisted response-header yes

Syntax

Expires: <http-date>

Directives

<http-date>

An HTTP-date timestamp.

Examples

Expires: Wed, 21 Oct 2015 07:28:00 GMT

Specifications

Specification Title
RFC 7234, section 5.3: Expires Hypertext Transfer Protocol (HTTP/1.1): Caching

Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari Servo
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)
Feature Android Chrome for Android Edge Mobile Firefox for Android IE Mobile Opera Mobile Safari Mobile
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)

See also

Метки документа и участники

Метки: 
 Внесли вклад в эту страницу: fscholz
 Обновлялась последний раз: fscholz,