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

Let the dinosaurs finally die out with a little help of a service worker

Let the dinosaurs finally die out with a little help of a service worker

kaapa

June 20, 2017
Tweet

Other Decks in Programming

Transcript

  1. Let The dinosaurs
    FinalLy DIE OUT
    With A little help of a service worker
    Kacper Sokolowski @kaapa_s

    View Slide

  2. FROnt-end Landscape
    Testing libs CI solutions
    Language
    Frameworks Build tools
    Transpilers
    Preprocessors

    View Slide

  3. View Slide

  4. There Still Is One LITTLE PROBLEM...

    View Slide

  5. View Slide

  6. View Slide

  7. ?
    ?
    ?

    View Slide

  8. http://www.smartinsights.com/mobile-marketing/mobile-marketing-analytics/mobile-marketing-statistics/

    View Slide

  9. https://blog.kissmetrics.com/loading-time/
    „… If an e-commerce site is making $100,000 per day,
    a 1 second page delay could potentially cost you
    $2.5 million in lost sales every year …”

    View Slide

  10. CACHING!

    View Slide

  11. View Slide

  12. View Slide

  13. View Slide

  14. • Cookies
    • Local / Session Storage
    • Indexed DB
    • HTTP Headers
    • APPLICATION CACHE
    https://alistapart.com/article/application-cache-is-a-douchebag
    MEh...

    View Slide

  15. Service Worker!

    View Slide

  16. Service
    Worker
    /data

    View Slide

  17. DEMO!

    View Slide

  18. View Slide

  19. View Slide

  20. Questions?

    View Slide