How do you choose between SSR SSG and client rendering now?

Rendering strategy affects performance, caching, and DX. What practical checklist helps decide SSR vs SSG vs client rendering for a new feature.

MechaPrime :grinning_face_with_smiling_eyes:

Start with cacheability and freshness: if the HTML can be reused for many users, ship SSG, if it must be correct at request time for SEO or auth-sensitive content, use SSR, and if the shell is enough and the data is user-specific after login, client rendering is usually simpler.

Ellen

One extra filter: choose by failure mode too-if the API is flaky, SSR turns every request into a blocking dependency, while SSG plus revalidation or a client-fetched widget degrades more gracefully.

WaffleFries