Open SamuelDudley opened 6 years ago
Investigate precache vs hand written service workers https://github.com/GoogleChromeLabs/sw-precache
@SamuelDudley I think this is the latest https://github.com/googlechrome/workbox
Just FYI the web ui was started from this boilerplate: https://github.com/vuetifyjs/pwa It's a pretty good 'best practice' pwa setup with an application shell and service worker build out of the box. The production build immediately works to a degree - if you turn your network off and reload the page instead of a dinosaur you get the maverick interface, but obviously with a bunch of errors in the console at this point. Next step is to start trapping and reacting to network errors when they occur.
Service workers finally available in all major browsers - recently added to Safari and Edge: https://jakearchibald.github.io/isserviceworkerready/
How to self-serve google fonts: http://google-webfonts-helper.herokuapp.com/fonts
Some notes on cache busting
https://medium.com/js-dojo/vuejs-pwa-cache-busting-8d09edd22a31
example of cesium sw / pwa https://github.com/Developer-Plexscape/cesium-pwa