[whatwg] Application cache updating synchronicity

Alexey Proskuryakov ap at webkit.org
Fri Dec 4 14:01:04 PST 2009


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




More information about the whatwg mailing list