title: Using service workers with Cordova on iOS and external resources
body: <p>I am aware of <a href="https://stackoverflow.com/questions/29895387/service-workers-and-ios">the Service Workers and iOS question</a>. This is not a duplicate, and some fresh answers would be welcome because the only answer there is just "this thing exists" without any indications on how to use it.</p>
  
  <p>My use case for this plugin is as a polyfill. I would have an <em>extremely simple</em> Cordova app that simply loads my real app located at some URL - that webapp would use service workers to cache resources offline, do background sync if available, and so on. This only applies to iOS as I <em>know</em> service workers are supported on Chrome for Android.</p>
  
  <p>The question is twofold: Is this a viable use case? And if so, how would I set up my Cordova app so that it works as I intend?</p>