W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] Comment on 6.6 Offline Web Applications

From: Peter Beverloo <peter@lvp-media.com>
Date: Thu, 3 Jun 2010 21:30:17 +0200
Message-ID: <AANLkTikSe0FSbdnV7Xc_89vIfH_P52jMS0CO01z9dVRE@mail.gmail.com>
On Thu, Jun 3, 2010 at 15:01, Daniel Glazman
<daniel.glazman at disruptive-innovations.com> wrote:
> Hi there,
> I noticed the Application Cache does not allow to remove
> a single cached web application from the cache. Is that on
> purpose?
> I am under the impression the cache is here more an offline
> storage for webapps than a normal cache, and that in the long
> run browsers will have to implement an "Offline Web Apps" manager.
> Since the user is supposedly already provided with a dialog
> asking permission to make a webapp available offline, it makes
> sense to give him/her a way to remove a single application from
> the cache.
> </Daniel>

Section 6.6.7 talks about expiration of cached data [1], but also
includes a few notes about removing items from the store. It
specifically states that user-agents could have a "delete
site-specific data" feature which also covers removing application
caches, but also hints towards a feature that removes caches on
request of the user.

The API does not state a way allowing an application to remove itself
from the cache, which could be desirable for web authors. If there's
interest for such an addition I'm willing to make a proposal, as it
isn't hard to think about use-cases for such a feature.

Peter Beverloo

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#expiring-application-caches
Received on Thursday, 3 June 2010 12:30:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC