Skip to content

Commit

Permalink
go through all for=cache items
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 16, 2018
1 parent 642faeb commit b82c39c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions fetch.bs
Expand Up @@ -3043,9 +3043,8 @@ with a <i>CORS flag</i> and <i>recursive flag</i>, run these steps:
<a>HTTP fetch</a> using <var>request</var> with <i>CORS flag</i>
and <i>CORS-preflight flag</i> set.

<li><p>If <var>corsWithPreflightResponse</var> is a
<a>network error</a>, then
<a for=cache>clear cache entries</a> using <var>request</var>.
<li><p>If <var>corsWithPreflightResponse</var> is a <a>network error</a>, then
<a>clear cache entries</a> using <var>request</var>.

<li><p>Return <var>corsWithPreflightResponse</var>.
</ol>
Expand Down Expand Up @@ -4503,8 +4502,7 @@ run these steps:
<li><p>If <var>max-age</var> is failure or null, then set <var>max-age</var> to zero.

<li><p>If <var>max-age</var> is greater than an imposed limit on
<a for=cache>max-age</a>, then set <var>max-age</var> to the imposed
limit.
<a for="cache entry">max-age</a>, then set <var>max-age</var> to the imposed limit.

<li><p>If the user agent does not provide for a <a lt="CORS-preflight cache">cache</a>, then
return <var>response</var>.
Expand Down Expand Up @@ -4591,7 +4589,7 @@ whose <a for="cache entry">serialized origin</a> is the result of
<a>serializing a request origin</a> with <var>request</var> and whose <a for="cache entry">url</a>
is <var>request</var>'s <a for=request>current url</a>.

<p>There is a <dfn id=concept-cache-match for=cache>cache entry match</dfn> for a <a>cache entry</a>
<p>There is a <dfn id=concept-cache-match>cache entry match</dfn> for a <a>cache entry</a>
<var>entry</var> with <var>request</var> if <var>entry</var>'s
<a for="cache entry">serialized origin</a> is the result of <a>serializing a request origin</a> with
<var>request</var>, <var>entry</var>'s <a for="cache entry">url</a> is <var>request</var>'s
Expand Down

0 comments on commit b82c39c

Please sign in to comment.