~/talk

Optimally using third-party services with Next.js

Talkat Next.js Conf 2022 · on Tuesday, 2022-10-25· [web-performance, web-platform]
slides:none on file

Claim: cutting client JavaScript lets large e‑commerce sites jump Lighthouse scores from ~24 to ~83 and push TTI down to about two seconds. Uses Next.js features: the Script component with a worker strategy (via Party Town), afterInteractive/lazy strategies, server rendering and getStaticProps/ISR, and Edge middleware that rewrites URLs from small cookie key‑value pairs to serve personalized cached pages. Demo shows cookie→rewrite→personalized page delivered instantly and stickily from the CDN, with A/B variations rendered and working in production.

AI-written summary · about

  1. 0:00Optimizing third-party services
  2. 1:23Client-side JS harms performance
  3. 5:58Next.js Script component
  4. 8:05SSR for render-critical content
  5. 9:47Edge middleware for personalization
  6. 15:00Live Edge middleware demo
  7. 20:39Conclusion and key takeaways
~/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.