~/talk

Quick fixes to improve page load time

Talkat JSFoo 2018 · on Saturday, 2018-10-27· [web-performance]
slides:none on file

Lists concrete fixes and measured wins: use link headers / preload and HTTP/2 push to fetch critical JS early, run Chrome DevTools + Lighthouse and webpack bundle visualizer to find hotspots, apply tree‑shaking and conditional polyfills, replace whole lodash/moment imports with single‑function packages, prefer image srcset + lazy‑load via Intersection Observer, use CSS modules and fontfaceobserver to avoid reflows. Result on production: first contentful paint drops from ~350ms to ~90ms and traffic rises ~35–50%.

AI-written summary · about

  1. 0:00Intro
  2. 1:37Why Do We Care?
  3. 4:33Not In Scope
  4. 7:49Profiling - Why?
  5. 8:28Profiling - What?
  6. 10:06Profiling - How?
  7. 14:01Tell the browser what's important
  8. 14:35Link Headers and H/2 push
  9. 16:09Inline Your CSS
  10. 17:38CSS Modules
  11. 18:41Shrink Your CSS
  12. 19:17Font CSS
  13. 24:15Lazy Load Images
  14. 25:33Conditional Polyfills
  15. 32:37Final Thoughts
~/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.