Contents tagged “ServiceWorker”
There are 4 contents with this tag:
-
TIL: if you cache images with a Service Worker, and you have a Content Security Policy, the image's origin should be in both the
img-src
andconnect-src
directives.Details from @qubyte: https://qubyte.codes/blog/content-security-policy-and-service-workers
-
Wondering why my #Workbox based Service Workers breaks images on https://nicolas-hoizey-com.netlify.app/notes/ but not https://nicolas-hoizey.com/notes/
It's exactly the same code. 🤷♂️
-
Tried to write a fresh new #ServiceWorker with #Workbox 5 and #Rollup (first time ever), almost copy/pasted from what @jeffposnick did in https://github.com/GoogleChromeLabs/so-pwa but I get a strange error reporting mixed content… 😥
See all tags.