[whatwg] AppCache and SharedWorkers?

Drew Wilson atwilson at google.com
Tue Mar 24 18:14:31 PDT 2009


I'm trying to understand the ApplicationCache spec as it applies to workers,
but I didn't find anything promising when I searched the archives. Is
ApplicationCache intended to apply to workers? The application cache API
isn't available to workers, but I'm guessing the intent is that if an
application creates a dedicated worker then worker requests (like
importScripts()) would come out of the cache inherited from the parent
document. If not, then it seems impossible to support running workers when
in offline mode.

Since SharedWorkers are shared by multiple windows, there's some ambiguity
about which app cache it should use (perhaps always the one from the creator
window?) - it seems like an app might get different SharedWorkers() loading
from different app caches depending on the order in which different windows
create them, which seems like a dubious outcome. Has this been discussed
previously?

-atw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090324/8f60c688/attachment-0002.htm>


More information about the whatwg mailing list