~/talk

Web Performance in modern JavaScript world

Talkat JavaScript fwdays'19 · on Saturday, 2019-03-16· [web-performance, javascript]
slides:none on file

Claims that bundle size drives user loss with concrete numbers — 1s causes a context switch, 2s shaved yields 50% more Firefox downloads, 2s delay cuts ~4% revenue — and shows fixes. Demonstrates splitting apps with code splitting and dynamic import so routes and off‑screen components load lazily, adds prefetch via webpack magic comments to warm likely bundles, and uses service workers / Workbox, bundlephobia, webpack-bundle-analyzer and import-cost to measure and cache, with examples of loaders/placeholders and measurable build-size budgets.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Let's talk about Performance!
  3. 2:39What influences loading time performance?
  4. 4:47SPEED = MONEY
  5. 5:07How webpack bundling works?
  6. 8:40Split your code per route
  7. 9:10Load off-screen components lazily
  8. 10:02Load non-critical libraries lazily
  9. 11:39What about code duplication?
  10. 13:53Make use of cache for static assets
  11. 14:16Service Worker
  12. 15:30Nuxt PWA module
  13. 16:28Prefetch lazily loaded resources
  14. 17:44Vue-cli 3 is prefetching lazy chunks out of the box!
  15. 18:34#1 Dev tools "coverage" tool
  16. 19:23Webpack bundle analyzer
  17. 20:10#2 'bundlesize package
  18. 20:45VS Code 'Import cost' plugin
  19. 21:45component is loading
~/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.