~/talk

How Instagram.com Works

Talkat OSCON 2014 · 2014-07-20..07-24· [javascript]
name:Pete Hunt
github:petehunt
slides:none on file

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

  1. 0:00Start
  2. 3:17Today is about Single Page Apps
  3. 13:18Bundle modules for the browser
  4. 14:05Optimize your bundles
  5. 17:45They're part of the dependency graph
~/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.