Lesson 20 of 30
Where and when HTML actually gets generated is a real architectural choice with three common answers, each trading off differently between build time, server load, and how fresh the content is.
14 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
Question 1 of 2
A marketing blog's content rarely changes after publishing. Which rendering strategy fits best, and why?
Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
CSR: browser downloads a near-empty shell + JS, renders everything client-side — slow first paint, fast navigation after.
| | Content changes | Best fit | |---|---|---| | CSR | Highly personalized, behind login | Dashboards, admin panels | | SSR | Changes per-request, needs to be fresh + indexed | A logged-in feed, search results | | SSG | Rarely changes | Marketing pages, blog posts, docs |
"Would you use SSR or SSG for this page?" is a genuinely practical architecture question — matching the strategy to how often the content changes and who needs to read it (users vs. search crawlers) is a stronger answer than defaulting to whichever a specific framework makes easiest.