^p^‎ > ‎

Service Worker - Progressive Web Apps PWA

opublikowane: 30 wrz 2018, 08:56 przez Piotr Trochymiak

https://support.google.com/partners/answer/7336697?hl=pl
https://developers.google.com/web/fundamentals/primers/service-workers/registration
https://developers.google.com/web/fundamentals/primers/service-workers/
https://developer.mozilla.org/en-US/docs/Web/Manifest


https://mickl.net/2016/10/24/czym-sa-progressive-web-apps-i-do-czego-mozna-uzyc-service-worker-ow/comment-page-1/

https://poznajprogramowanie.pl/progressive-web-apps-pwa-intro/
https://blog.spaceout.pl/co-to-jest-service-worker-js-aplikacja-progresywna-od-google/

https://sekurak.pl/mechanizm-service-workers-uzywanie-i-naduzywanie/

https://www.youtube.com/watch?v=d5_6yHixpsQ&t=172s&index=109&list=WL
https://www.youtube.com/watch?v=cmGr0RszHc8&t=0s&index=110&list=WL



<script>
 if ('serviceWorker' in navigator) {
  window.addEventListener('load', function() {
  navigator.serviceWorker.register('/wp-content/themes/pepson-m/js/sw.js').then(function(registration) {
  console.log('ServiceWorker registration successful with scope: ', registration.scope);
  }, function(err) {
  console.log('ServiceWorker registration failed: ', err);
  }); }); }
</script>




Comments