File tree 1 file changed +9
-3
lines changed 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5313,9 +5313,15 @@ run these steps:
5313
5313
<li><p> <a abstract-op lt="append the Fetch metadata headers for a request">Append the Fetch metadata headers for <var>httpRequest</var></a> .
5314
5314
[[!FETCH-METADATA]]
5315
5315
5316
- <li><p> If <var> httpRequest</var> 's <a for=request>initiator</a> is "<code> prefetch</code> ", then
5317
- <a for="header list">append</a> (`<code> Sec-Purpose</code> `, "<code> prefetch</code> ") to
5318
- <var> httpRequest</var> 's <a for=request>header list</a> .
5316
+ <li>
5317
+ <p> If <var> httpRequest</var> 's <a for=request>initiator</a> is "<code> prefetch</code> ", then
5318
+ <a for="header list">append</a> (`<code> Sec-Purpose</code> `, "<code> prefetch</code> ") to
5319
+ <var> httpRequest</var> 's <a for=request>header list</a> .
5320
+
5321
+ <p class=note> This header gives servers an opportunity to handle prefetches differently from
5322
+ regular requests. For example, the server may allow caching for a longer period for a prefetch
5323
+ request, disallow prefetches by rejecting the request, or treat it differently for the purpose
5324
+ of counting page visits.
5319
5325
5320
5326
<li><p> If <var> httpRequest</var> 's <a for=request>header list</a>
5321
5327
<a for="header list">does not contain</a> `<code> User-Agent</code> `, then user agents should
You can’t perform that action at this time.
0 commit comments