aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/http/headers/expires/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/http/headers/expires/index.html')
-rw-r--r--files/ru/web/http/headers/expires/index.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/files/ru/web/http/headers/expires/index.html b/files/ru/web/http/headers/expires/index.html
new file mode 100644
index 0000000000..2d946f0724
--- /dev/null
+++ b/files/ru/web/http/headers/expires/index.html
@@ -0,0 +1,80 @@
+---
+title: Expires
+slug: Web/HTTP/Заголовки/Expires
+tags:
+ - HTTP
+ - Заголовки
+ - Кеширование
+ - Ответ сервера
+translation_of: Web/HTTP/Headers/Expires
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>Заголовок <code><strong>Expires</strong></code><strong> </strong>содержит дату/время, по истечении которой ответ сервера считается устаревшим.</p>
+
+<p>Прошедшая или невалидная дата, например 0, обозначает, что ресурс уже устарел.</p>
+
+<p>Если в ответе с сервера установлен заголовок {{HTTPHeader("Cache-Control")}} с директивами "max-age" или "s-maxage" , заголовок <code>Expires</code> игнорируется. </p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">Тип заголовка</th>
+ <td>{{Glossary("Response header")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Forbidden header name", "Запрещенное имя заголовка")}}</th>
+ <td>нет</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Simple response header", "CORS безопасный заголовок ")}}</th>
+ <td>да</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Синтакс">Синтакс</h2>
+
+<pre class="syntaxbox notranslate">Expires: &lt;http-date&gt;
+</pre>
+
+<h2 id="Директивы">Директивы</h2>
+
+<dl>
+ <dt>&lt;http-date&gt;</dt>
+ <dd>
+ <p>HTTP-дата и время.</p>
+ </dd>
+</dl>
+
+<h2 id="Примеры">Примеры</h2>
+
+<pre class="notranslate">Expires: Wed, 21 Oct 2015 07:28:00 GMT</pre>
+
+<h2 id="Спецификация">Спецификация</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Спецификация</th>
+ <th scope="col">Название</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7234", "Expires", "5.3")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Caching</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Совместимость_браузера">Совместимость браузера</h2>
+
+<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+
+<p>{{Compat("http/headers/expires")}}</p>
+
+<h2 id="Смотрите_также">Смотрите также</h2>
+
+<ul>
+ <li>{{HTTPHeader("Cache-Control")}}</li>
+ <li>{{HTTPHeader("Age")}}</li>
+</ul>