How Instagram.com Works
summary
Instagram.com renders almost all UI in JavaScript and the team packages code by modules not files, splitting work across 17 entry points and sharing common bundles so browsers only download what's needed. Build tooling switches from grunt to webpack with loaders for JSX, CSS and images; assets upload to S3 and a CDN. Photo page load drops from 250ms to 120ms — a 52% performance improvement — and visual regressions use Huxley screenshot testing.
AI-written summary · about
chapters (5)
- 0:00Start
- 3:17Today is about Single Page Apps
- 13:18Bundle modules for the browser
- 14:05Optimize your bundles
- 17:45They're part of the dependency graph
related talks
45mDid We(b Development) Lose the Right Direction?
37mThe Cost of JavaScript
53mThe Unbearable Weight of Massive JavaScript
39mYou really don't need all that JavaScript, I promise
38mSecret Shortcuts of Loading Web Performance
41mYou Really Don't Need All That JavaScript I Promise
40mSupercharged Live Live Live!
41mBrowser Internals for JS Devs
