Hybrid rendering combines static site generation (SSG) and server-side rendering (SSR) within one application, matching delivery strategy to content needs. It is an interview-relevant trade-off between speed, caching, freshness, and personalization. section 5.1
Choose the strategy according to the page:
- Use SSG for mostly static content, such as blogs or marketing pages. Build-time HTML supports fast loading and CDN caching. section 5.1
- Use SSR for fresh, dynamic, or personalized content, such as user profiles and dashboards. Request-time data produces the response. section 5.1
- Mix SSG and SSR across routes when an application contains both cacheable content and user-specific experiences. section 5.1
Interview explanation
A strong answer says: “I would statically generate a marketing page for speed and CDN caching, but server-render a personalized profile so its data stays fresh. A mega-framework such as Next.js lets both strategies coexist.” section 5.1
