We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line 60 of src/upup.sw.js
if (settings['assets']) { cache.addAll(settings['assets'].map(function (urlToPrefetch) { return new Request(urlToPrefetch, {mode: 'no-cors'}); })); } }
it throws Failed to fetch when offline
also line 93
}).then(function () { // Delete old caches return caches.keys().then(function (cacheNames) { return Promise.all( cacheNames.map(function (cacheName) { if (cacheName.startsWith(_CACHE_NAME_PREFIX) && newCacheName !== cacheName) { return caches.delete(cacheName); } }) ); }); })
please add error handling to avoid throwing errors
Thank you
The text was updated successfully, but these errors were encountered:
No branches or pull requests
line 60 of src/upup.sw.js
it throws Failed to fetch when offline
also line 93
please add error handling
to avoid throwing errors
Thank you
The text was updated successfully, but these errors were encountered: