Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Service workers: what and why UmbUKFest 2018!

107 views

Published on

Slides from my talk at Umbraco Uk Festival 2018

Published in: Internet
  • Be the first to comment

  • Be the first to like this

Service workers: what and why UmbUKFest 2018!

  1. 1. www.enjoy-digital.co.uk
  2. 2. What Progressive Https onlyJavaScriptNetwork proxy Has no direct access to the DomBackbone of PWAs Runs in the background
  3. 3. Why 3
  4. 4. Installing Activated ERROR Idle Fetch / MessageTerminated Workflow
  5. 5. Normal First Request DOM Content Loaded: 6.85s Load: 24.87s Transferred: 863KB
  6. 6. Service Worker First Request DOM Content Loaded: 7.08s Load: 25.09s Transferred: 867KB
  7. 7. Repeat request DOM Content Loaded: 2.21s Load: 3.45s Transferred: 3.0KB
  8. 8. Repeat request with Service worker DOM Content Loaded: 192ms Load: 343ms Transferred: 0KB
  9. 9. Comparison First Request Repeat Request SW First Request SW Repeat Request DOM Content Loaded 6.85s 2.21s 7.08s 195ms Load 24.87s 3.45s 25.09s 343ms Transferred 863KB 3KB 867KB 0
  10. 10. Resources • https://developers.google.com/web/fundamentals/primers/service-workers/ • https://jakearchibald.github.io/isserviceworkerready/resources.html • Pokedex.org • http://www.pocketjavascript.com/blog/2015/11/23/introducing-pokedex-org • https://developers.google.com/web/tools/workbox/ • Mike Masey (@MikeMasey) Seriously thanks for all the help

×