Decoding JavaScript: Loading Performance —
summary
A slow dashboard becomes a near-instant command center by cutting shipped JS, fixing bundler assumptions and smarter delivery: bundle falls from 3.05MB → 1.2MB (gzips ~300KB) after discovering tree-shaking broken by sideEffects=true during webpack→Vite migration, slimming lodash and Sentry imports, and splitting into >10 chunks with React.lazy code-splitting and interaction-based imports. CDN edge (Cloudflare/AWS), TCP/HTTP behavior, aggressive API caching (React Query), service-worker precache, and a backend move to Apache Druid also trim latency and speed interactive time.
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 3:57Why performance matters
- 8:34Shipping less code
- 17:53Delivering assets smarter
- 23:22Running lighter with caching
- 26:52Summary and takeaways
related talks
23mDecoding Javascript: Loading Performance
37mSecret Shortcuts of Loading Web Performance
21mEvolution of Web Performance
21mMonsters of Web Performance
16mThe Evolution of Web Performance
24mSuperpowers of browser's Web API
36mPerformance for the long haul
52m10KB or Bust: The Delicate Power of Webpack and Babel
