~/talk

Migrating Notion’s marketing site to Next.js

Talkat Next.js Conf 2021 · on Tuesday, 2021-10-26· [frontend-architecture]
links:none on file
slides:none on file

Notion migrates its marketing site from client‑rendered app code to a fully static Next.js build, reusing React but changing routing with a reverse proxy and deploying a Docker container on AWS ECS. Migration moves 200,000 lines of code, 109 components, 23 static and 129 dynamic pages over two months with two engineers. Results: homepage JS drops 9.1 MB → 847 KB (93%), Lighthouse rises ~50 to 97, no loading spinners, Cloudflare caching and incremental static regeneration in place.

AI-written summary · about

  1. 0:00Start
  2. 2:05Pain points
  3. 5:20Migration scope
  4. 6:58Reverse proxy
  5. 11:31User experience
  6. 12:20Developer experience
~/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.