W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2008

spec/Overview.html 1.1523 2350 Appcache: Check the manifest again after

From: poot <cvsmail@w3.org>
Date: Sat, 18 Oct 2008 08:15:08 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081017231508.B18BD2BBE7@toro.w3.mag.keio.ac.jp>

Appcache: Check the manifest again after updating the cache to make sure
it hasn't changed. (whatwg r2350)

cache attempt
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1523.html#concept-appcache-cache

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1522&r2=1.1523&f=h
http://html5.org/tools/web-apps-tracker?from=2349&to=2350

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1522
retrieving revision 1.1523
diff -u -d -r1.1522 -r1.1523
--- Overview.html	17 Oct 2008 22:40:35 -0000	1.1522
+++ Overview.html	17 Oct 2008 23:12:25 -0000	1.1523
@@ -27871,9 +27871,9 @@
     returns another 4xx or 5xx response or equivalent, or there is a
     DNS error, or the connection times out, or the user cancels the
     download, or the parser for manifests fails when checking the
-    magic signature), or if the resource is labeled with a MIME type
-    other than <code title="">text/cache-manifest</code>, then run the
-    <a href=#cache-failure-steps>cache failure steps</a>.</p>
+    magic signature), or if the server returned a redirect, or if the
+    resource is labeled with a MIME type other than <code title="">text/cache-manifest</code>, then run the <a href=#cache-failure-steps>cache
+    failure steps</a>.</p>
 
    </li>
 
@@ -28098,9 +28098,31 @@
 
    </li>
 
-   <li><p>Store <var title="">manifest</var> in <var title="">new
-   cache</var>, if it's not there already, and categorize this entry
-   (whether newly added or not) as <a href=#concept-appcache-manifest title=concept-appcache-manifest>the manifest</a>.</li>
+   <li>
+
+    <p><a href=#fetch>Fetch</a> the resource from <var title="">manifest
+    URL</var> again, and let <var title="">second manifest</var> be
+    that resource.</p>
+
+   </li>
+
+   <li>
+
+    <p>If the previous step failed for any reason, or if the fetching
+    attempt involved a redirect, or if <var title="">second
+    manifest</var> and <var title="">manifest</var> are not
+    byte-for-byte identical, then schedule a rerun of the entire
+    algorithm with the same parameters after a short delay, and run
+    the <a href=#cache-failure-steps>cache failure steps</a>.</p>
+
+   </li>
+
+   <li>
+
+    <p>Otherwise, store <var title="">manifest</var> in <var title="">new cache</var>, if it's not there already, and
+    categorize this entry (whether newly added or not) as <a href=#concept-appcache-manifest title=concept-appcache-manifest>the manifest</a>.</p>
+
+   </li>
 
    <li>
Received on Friday, 17 October 2008 23:15:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:56 GMT