W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: [whatwg] Latest proposal for offline web app API

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 23 Sep 2007 18:38:45 -0700
Cc: Ian Hickson <ian@hixie.ch>, whatwg@whatwg.org, public-html@w3.org
Message-Id: <8C0420B6-DC6E-4B72-A552-762B83D03471@apple.com>
To: robert@ocallahan.org

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

> On 9/21/07, Ian Hickson <ian@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
Received on Monday, 24 September 2007 01:39:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:49 UTC