Skip to main content
InterviewHubPRO
Section Overview
Q10

Question 10 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

20%
Web Vitals & Performance (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

How do CSR, SSR, and SSG compare regarding Web Vitals?

junior LevelSSR & Hydration

In Simple Words:

  • CSR (Client-Side Rendering): Fast TTFB, but horrible LCP and FCP. The browser must download, parse, and execute a large JS bundle before any HTML content is rendered.
  • SSR (Server-Side Rendering): Great FCP and LCP because pre-rendered HTML arrives immediately. Risk: Can have slow TTFB if backend queries are slow, and poor INP if hydration blocks the main thread.
  • SSG (Static Site Generation): The Gold Standard for Web Vitals. Sub-50ms TTFB delivered from global CDN edges, instant FCP/LCP, and minimal hydration overhead.