wibblymat/shed

Allow items passed to precache to be Promises, either for URLs or arrays of URLs

Closed this issue · 1 comments

Perhaps you need to do some async operation, such as reading IDB, before you can get your list of resources to cache. In that case you should be able to pass a Promise for the list to precache, and the install event will wait for them to resolve during the event.waitUntil period.

Dealt with in new repo