Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[Jakub Škvára] Progressive web apps - prepare y...

[Jakub Škvára] Progressive web apps - prepare your web for 2017

Presentation from GDG DevFest Ukraine 2016.
Learn more at: https://devfest.gdg.org.ua

Google Developers Group Lviv

September 09, 2016
Tweet

More Decks by Google Developers Group Lviv

Other Decks in Technology

Transcript

  1. “ Remember back when AJAX completely changed what was possible

    in the desktop web? Progressive web apps are that same fundamental shift for the mobile web. “ “ -Rahul Row-Chowdhury (Google’s product lead for Chrome and the Web platform)
  2. #dfua I FELT PRETTY CLEVER UNTIL I REALIZED I’D INVENTED

    WEBPAGES. INSTALLING THINGS HAS GOTTEN SO FAST AND PAINLESS. WHY NOT SKIP IT ENTIRELY, AND MAKE A PHONE THAT HAS EVERY APP “INSTALLED” ALREADY AND JUST DOWNLOADS AND RUNS THEM ON THE FLY?
  3. #dfua manifest.json { "short_name": "My App", "name": "My Progressive Web

    App", "display": "standalone", "icons": { ... } } Web app manifest
  4. #dfua RAIL performance model Response - respond in under 100

    ms Animation - every 16 ms = 60 fps Idle - maximize idle time - 50 ms chunks Load - deliver content under 1000 ms
  5. #dfua PRPL pattern Push resources for initial route Render the

    initial route ASAP Pre-cache code for remaining routes Lazy-load & create next routes on-demand
  6. “ Progressive web apps are our ticket out of the

    tab, if only we reach for it. “ “
  7. #dfua Do you want to know more? Build a Progressive

    Web App with Firebase and Polymer Friday 14:00 Offline-first progressive web apps Saturday 10:00 Going offline with Service Worker Friday 16:50