It’s NOT just backend scaling.
For FE, it means:
Millions of requests → your JS runs on millions of devices
Slow networks → your app must still feel fast
Global users → CDN + caching matters
SEO + conversions → performance directly impacts business
I’ll keep this interview-focused (what they expect you to understand, not memorize).
This is the #1 thing they’ll expect.
You should clearly explain:
SSR (Server-Side Rendering)
SSG (Static Site Generation)
CSR (Client-Side Rendering)
👉 But more importantly: Tradeoffs at scale
Example answer mindset:
SSR → better SEO, slower server cost
SSG → best performance, but less dynamic
CSR → flexible, but slower first load
📌 In high-traffic apps:
Use SSG + CDN whenever possible
Minimize SSR usage (expensive at scale)
You don’t need deep infra knowledge, but you must understand:
Concepts:
CDN (e.g. Vercel, Cloudflare)
Edge caching
Cache headers (Cache-Control)
Static asset caching
Why it matters:
Reduces server load
Speeds up global delivery
👉 Example you can say:
“For high-traffic pages, we try to push as much as possible to CDN using static generation and aggressive caching.”
This is a must-know.
Key metrics:
LCP (Largest Contentful Paint)
CLS (Cumulative Layout Shift)
FID / INP
Practical FE techniques:
Image optimization (next/image)
Lazy loading
Code splitting
Avoid large JS bundles
At scale:
JS is your biggest enemy.
You should understand:
Tree shaking
Code splitting (dynamic import)
Reducing dependencies
Avoiding unnecessary re-renders
👉 Strong statement:
“In high-traffic apps, reducing JS is often more impactful than adding features.”
Things to know:
Avoid over-fetching
Caching API responses
Pagination / infinite scroll
Error handling & retries
With Next.js:
getStaticProps, getServerSideProps
React Query / SWR patterns
At scale, things WILL fail.
You should know:
Loading states (skeletons)
Graceful error UI
Retry strategies
Fallback content
👉 Example:
“We design UI so partial failures don’t break the whole page.”
Why it matters:
More users → more edge cases
Accessibility impacts SEO + legal
You already have:
a11y experience
You don’t need to implement it, but know:
Error tracking (Sentry)
Performance monitoring
Analytics (you used GA 👍)