goodrobots / maverick-web

web based frontend for maverick
MIT License
13 stars 7 forks source link

Add service workers #3

Open SamuelDudley opened 6 years ago

SamuelDudley commented 6 years ago

example of cesium sw / pwa https://github.com/Developer-Plexscape/cesium-pwa

SamuelDudley commented 6 years ago

Investigate precache vs hand written service workers https://github.com/GoogleChromeLabs/sw-precache

cglusky commented 6 years ago

@SamuelDudley I think this is the latest https://github.com/googlechrome/workbox

fnoop commented 6 years ago

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.

fnoop commented 6 years ago

Service workers finally available in all major browsers - recently added to Safari and Edge: https://jakearchibald.github.io/isserviceworkerready/

fnoop commented 6 years ago

How to self-serve google fonts: http://google-webfonts-helper.herokuapp.com/fonts

fnoop commented 6 years ago

MDN guides: https://hacks.mozilla.org/2018/05/progressive-web-apps-core-guides-on-mdn-web-docs/

SamuelDudley commented 4 years ago

Some notes on cache busting

https://medium.com/js-dojo/vuejs-pwa-cache-busting-8d09edd22a31