W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2007

[whatwg] Latest proposal for offline web app API

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 23 Sep 2007 18:38:45 -0700
Message-ID: <8C0420B6-DC6E-4B72-A552-762B83D03471@apple.com>

On Sep 23, 2007, at 5:41 PM, Robert O'Callahan wrote:

> On 9/21/07, Ian Hickson <ian at hixie.ch> wrote:
> Provide methods and/or properties for the following:
>
> * Add a resource to the cache. The resource persists (it's a
>    permanent addition to the manifest.)
>
> So if an update retrieves a new version of the manifest from the  
> server, what will happen to dynamically added resources?

I think Ian's proposal clarified that dynamically added resources  
would remain after a manifest update (though of course, you can remove  
them through script).

> Nondeterminism about which cache might be used to serve a given URI  
> seems highly undesirable to me. This could easily lead to  
> interoperability problems.

I believe the only nondeterminism is for top-level resources that  
appear in more than one cache. An alternate possibility is to require  
that they be served from the most recently updated cache. However, the  
counter-argument might be that operations like "open image in new  
window" should pass the cache along to the resulting new top-level  
browsing context. Perhaps it should be required that the newest  
available offline cache is used, except optionally in such cases. I'm  
not sure how that could be well-defined however.

Regards,
Maciej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070923/2ff090a9/attachment.htm>
Received on Sunday, 23 September 2007 18:38:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:57 UTC