So, I got this to work, finally, on a mobile device.
- The first section of this (the generated service-worker files) is all changed. Nothing makes sense until you get to the part where you make the webpack.prod.conf.js changes.
- You MUST change all urls to ‘https’, for them to be cached — no exceptions!! In the example app, there are a few ‘http’ requests hanging around — notably the ‘tumblr’ references.
- For some reason, the mdl icons would not cache in desktop Chrome. They cache fine on mobile Chrome.