~/talk

The (Awesome) Future of Web Apps

Talkat Dutch PHP Conference 2017 · 2017-06-29..07-01· [pwa, web-platform]
slides:none on file

Progressive Web Apps deliver installable, offline web apps by combining a Web App Manifest, Service Worker code and runtime caching; use sw‑precache or Workbox to precache assets and sw‑toolbox for cache‑first, network‑first, fastest strategies. Delay service worker registration until window load, preload fonts with crossOrigin, prefer device fonts, and split JS (example trace shows parsing a 1 MB bundle taking 8.25s). Try Lighthouse, Background Sync, Payment Request, IntersectionObserver and WebAssembly; Twitter Lite and Uber show this approach works in production.

AI-written summary · about

  1. 0:00Start
  2. 4:45GoogleChrome/sw-precache
  3. 8:33iOS meta tags
  4. 20:20Offline color using CSS variables
  5. 26:20Code coverage
  6. 26:48Conditional polyfill loading
  7. 38:06Periodic sync
  8. 39:06Payment request API
  9. 42:33Future App Model
  10. 43:53Use throttling features in Chrome
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.