W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Application cache updating synchronicity

From: Alexey Proskuryakov <ap@webkit.org>
Date: Fri, 04 Dec 2009 14:01:04 -0800
Message-ID: <919BBBB0-8657-4F61-A917-F7E70FAFFFF3@webkit.org>
Recently, a new step was prepended to the application cache update  
algorithm:

"1. Optionally, wait until the permission to start the application  
cache download process has been obtained from the user and until the  
user agent is confident that the network is available. This could  
include doing nothing until the user explicitly opts-in to caching the  
site, or could involve prompting the user for permission. The  
algorithm might never get past this point. (This step is particularly  
intended to be used by user agents running on severely space- 
constrained devices or in highly privacy-sensitive environments)."

It's not clear if it's supposed to synchronous or not. The "doing  
nothing" clause suggests that page loading can continue normally. On  
the other hand, the algorithm says that asynchronous processing only  
begins after step 2, which runs "atomically".

- WBR, Alexey Proskuryakov
Received on Friday, 4 December 2009 14:01:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC