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

[whatwg] AppCache and SharedWorkers?

From: Drew Wilson <atwilson@google.com>
Date: Tue, 24 Mar 2009 18:14:31 -0700
Message-ID: <f965ae410903241814h26ea1566p315581211537f866@mail.gmail.com>
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.htm>
Received on Tuesday, 24 March 2009 18:14:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT