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

Progressive webapps at the Guardian

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Progressive webapps at the Guardian

Presentation given at https://webprogressions.org.

Avatar for Alex Sanders

Alex Sanders

May 09, 2016

Other Decks in Programming

Transcript

  1. 1. Add to home screen • +20% engagement from home

    screen • old add-to-home-screen bookmarks current URL • manifest has one start_url
  2. 2. Notifications • a website sending me notifications? • don’t

    you mean ‘email’? • how much will it cost? • I don’t want another account!
  3. 3. Offline page • you could disable your whole site!

    • offline content needs to be downloaded (obviously)
  4. 3. Offline page? • offline-first feels intuitively right • for

    a publisher, not obvious what it should be
  5. 3. Offline page… • added very simple HTML page for

    all on-domain, failed HTML fetches • stores a pageview in a cookie • if you return to theguardian.com, we ping the view back and clear the cookie • measures offline visits, as a percentage of page views of https sections, by capable browsers…
  6. 3. Offline page • imperfect metric • no expectation you

    could use theguardian offline • probably only catches life-fi • flakey connection • likely to reconnect soon • people who know they’re offline unlikely to try – untapped
  7. Issues • ~49% visits to theguardian.com support SW • ~32%

    mobile Safari • ~15% Chrome/Firefox/Opera for Android
  8. HTTPS • requirement for PWAs • we’re moving, slowly but

    surely • technology • science • crosswords • business • guardian jobs microsite
  9. HTTPS & ads • keeping an eye on revenue –

    insecure ads won’t show! • DFP ‘SSL compatibility’ • LEAN makes it mandatory
  10. Closing thoughts • Support is wide but not total •

    Implementation of the specs is iterative • It really is a sea-change – be ready to adopt it