Re: [w3c/ServiceWorker] Service workers and mixed content (#493)

Sorry to bust in so late in this discussion but the fact is that I'm building a podcast pwa (available for disfunctional testing at https://tolu.github.io/podspace) and I've just spent a day trying to figure out how to solve this problem.
The app is very much WIP and I don't even have a well defined caching strategy so the service worker simply caches everything that comes through.
The only separation in logic is serving application files "network first" and everything else "cache first"(where requests for iTunes images fail, not to mention mp3's).

@jakearchibald if you have the time, could you please elaborate on how CSP can be used for avoiding this issue, or point me in the right direction. I would be eternally greatful!

I've looked around and tried some approaches but I fear I don't really understand how CSP should be used for a case like this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/493#issuecomment-322993416

Received on Thursday, 17 August 2017 07:38:53 UTC