~/talk

10KB or Bust" The Delicate Power of Webpack and Babel"

Talkat JSConfCO 2018 · on Friday, 2018-11-16· [web-performance, frontend-architecture]
slides:none on file

Claim: aim for an initial payload under 10 kilobytes by changing build configs not rewriting app code. Tools: Webpack, Babel (preset-env, useBuiltIns, modules false), Preact for examples, service workers for background fetching. Concrete wins: tree-shaking lodash cuts a sample bundle from 73.3 KB → 11.1 KB, LinkedIn desktop experience can take ~90s on 2g 14 kbps while a tuned site hits first meaningful paint in ~0.25s. Also use code-splitting, production React build, Brotli/gzip, no prod source maps, and image skeletons.

AI-written summary · about

  1. 0:00Intro
  2. 1:35Pitch
  3. 2:44Whos ready
  4. 3:53Introduction
  5. 5:22I hate it
  6. 5:59We are trying our best
  7. 6:39Know your audience
  8. 8:36Browsing on 2G
  9. 9:25LinkedIn on 2G
  10. 12:36Bangalore vs San Francisco
  11. 13:30Question Your Framework
  12. 14:22Babel Preset ES2015
  13. 15:27ESM Modules
  14. 16:18Treeshaking
  15. 19:49Treeshaking is no silver bullet
  16. 20:34Use Builtins
  17. 21:31Loose Mode
  18. 22:16No Time
  19. 22:46Code Splitting
  20. 24:58Image skeletons
  21. 26:16Social networks
  22. 26:36Image size
  23. 27:10TLDR
  24. 27:52Pro tips
  25. 28:06Headers
  26. 28:32API Responses
  27. 29:00Brightly Compression
  28. 29:28Node Resolution
  29. 30:03Helicopters
~/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.