~/talk

Create instant loading mobile web pages with AMP

Talkat UtahJS Conf 2018 · on Friday, 2018-09-14· [web-performance, web-platform]
links:none on file
slides:none on file

Accelerated Mobile Pages (AMP) turns content pages into instant-loading mobile pages by enforcing a restricted HTML runtime, an async AMP JS library, and a global amp-cache plus viewer that prefetches and pre-renders likely taps. Pages forbid arbitrary script tags, use components like amp-img and amp-iframe, inline styles capped at 50KB, and require width/height to prevent layout shifts. Applied techniques include lazy loading, preconnect/prefetch, DOM-change batching with requestAnimationFrame, and HTTP/2 on CDN; empirical claims: 1–3s load costs ~32% bounce, 1–5s ~90% lost users.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50AMP Project
  3. 1:47AMP Technology
  4. 2:30AMP Logo
  5. 3:18Why AMP
  6. 5:10Frameworks
  7. 5:52Package managers
  8. 7:46Webpack Gold
  9. 8:26Common tasks
  10. 9:02UX is important
  11. 9:25HTML
  12. 10:17Style
  13. 10:45Banned Tags
  14. 12:07AMPJS
  15. 13:05validator
  16. 13:36viewer
  17. 15:06goal
  18. 15:26Rail Model
  19. 17:15Lazy Loading
  20. 17:35Pre Connect
  21. 18:01Pre Connect callback
  22. 18:23Create element
  23. 18:43Prefetching
  24. 19:00JavaScript
  25. 19:30Inline Styles
  26. 19:55Maximum Styles Size
  27. 20:24Instant Loading
  28. 21:29Resource Optimization
  29. 21:47Layout and Downloads Decoupled
  30. 22:18Jumpy Experience
  31. 22:34AMP eliminates layout thrashing
  32. 23:58AMP uses one frame
  33. 24:10Window requestanimationframe
  34. 24:22JavaScript worst practices
  35. 25:29Phone downloads
  36. 26:02Extensions
  37. 26:59CDN
  38. 27:16HTTP to
  39. 27:50Animations
  40. 28:38Conclusion
~/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.