Comments (4)
Did you figure this out? I have the same issue, but only with Edge Chromium. First request to ads goes through, but further that are handled by a fetch event in a service worker return that error. Is it cross-origin related?
from sw-toolbox.
@Lucent This is what I run now. Never tried to get ads working via service worker as I couldn't really figure it out.
self.addEventListener('install', function () { return self.skipWaiting(); });
self.addEventListener('active', function () { return self.clients.claim(); });
toolbox.precache(['/','/about/','/git-recipes/','/hello-next-js-goodbye-hexo/','/remove-files-from-git-history-using-git-filter-repo/','/nginx-1-19-supports-environment-variables-and-templates-in-docker/','/building-a-elasticsearch-cluster-using-docker-compose-and-traefik/','/use-the-acme-dns-challenge-to-get-a-tls-certificate/']);
toolbox.options = {"networkTimeoutSeconds":5};
toolbox.router.any(/www\.google-analytics\.com/, toolbox.networkOnly);
toolbox.router.any(/.*\.(js|css|jpg|jpeg|png|gif)$/, toolbox.cacheFirst);
toolbox.router.any(/content.json$/, toolbox.cacheFirst);
toolbox.router.any(/\//, toolbox.networkFirst);
from sw-toolbox.
Did you have uBlock Origin enabled at the time and your site whitelisted? If so, I identified a problem with the extension on Edge that may have been the cause, for future visitors: uBlockOrigin/uBlock-issues#1478
from sw-toolbox.
@Lucent The change in uBO causing the issue was caused by a relatively recent change, it did not exist back in December 2019.
from sw-toolbox.
Related Issues (20)
- Issue with Multiple Tab open with one mobile view through chrome dev tools HOT 1
- Caches gets deleted on page reload HOT 1
- Allow for selection of more request properties like headers than just the URL HOT 2
- googlechrome.github.io returns 404
- Website for this repo has been 404 HOT 1
- Repo URL is broken HOT 1
- The fetchAndCache function has a bug on mobile phones HOT 1
- Release 3.6.1 to NPM HOT 1
- Bug: Toolbox does not handle quote exceeded errors HOT 13
- Consider bumping `path-to-regexp`. HOT 1
- Cache with maxAgeSeconds option not expiring for cacheFirst strategy
- how can I precache some url with cookie ?
- Notify people about Workbox ("The next version of sw-precache & sw-toolbox") HOT 1
- Usage and api links broken in Index.md
- What is the use of indexDb if sw-toolbox is validating freshness of cache via date header
- service worker error HOT 1
- toolbox.router.get function not working in safari ios
- Missing documentation for successResponses HOT 1
- Documentation pages have corrupted links to gh-pages!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sw-toolbox.