Re: [w3c/ServiceWorker] Allow caches to opt-in to granular cleanup (#863)

FYI: @jeffposnick, @philipwalton for Workbox requirements.

The *tl;dr* of this issue is:
  - There is [super rough proposal](https://github.com/w3c/ServiceWorker/issues/863#issuecomment-353070261) to add metadata ("added to cache" timestamp, "last accessed" timestamp) to cached items, so you no longer have to [resort to IDB](https://github.com/w3c/ServiceWorker/issues/863#issuecomment-433061240) for this information in order to implement cache expiration strategies.
  - The (preferred?!) alternative would be to just [allow IDB to store `Request`s and `Response`s](https://github.com/w3c/ServiceWorker/issues/863#issuecomment-433063809).
  - At the TPAC F2F, we (IIRC) agreed that it was not desirable to [implement these strategies as part of the Cache API itself](https://github.com/w3c/ServiceWorker/issues/863#issue-144925938) (as initially suggested when opening the issue).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/863#issuecomment-433846090

Received on Monday, 29 October 2018 09:42:22 UTC