~/talk

Cache for Commerce Performance and Optimization for High Volume Sales

Talkat Next.js Conf 2020 · on Tuesday, 2020-10-27· [web-performance, serverless]
links:none on file
slides:none on file

Architecture uses Next.js server rendering with serverless functions and CDN caching to cut load times while keeping correctness. Pages and some APIs use the stale-while-revalidate header (set via getServerSideProps) so cached HTML serves instantly and background revalidation updates the CDN. Practical numbers: content uses 120s / 1 day limits, product APIs stay uncached while client refreshes inventory via react-query 60s, and sales flip to 10s max-age to avoid blink — approach proves fast and usable.

AI-written summary · about

  1. 0:00Start
  2. 1:08Caching and Commerce
  3. 3:04Cache Overview
  4. 4:36stale-while-revalidate
  5. 10:47Caching for Content
  6. 14:16Caching for Products
  7. 18:15Caching for Sales
  8. 21:51Headless Commerce and CDN Cache
~/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.