- From: Ben Kelly <notifications@github.com>
- Date: Mon, 08 Jun 2015 08:52:33 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 8 June 2015 15:53:11 UTC
Another possible `caches` specific change would be something like:
```
// on service worker
caches.open('foo', { service-worker-only: true }).then(function(cache) {
// rejects if cache already exists and is not service-worker-only
}):
// on window
caches.open('foo').then(function(cache) {
// rejects because its not a service worker
});
```
I guess I would prefer something like this to just completely banning caches on window/worker.
---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/698#issuecomment-110051323
Received on Monday, 8 June 2015 15:53:11 UTC