liveBook · Manning

Hybrid rendering

As explained in Acing the Frontend Interview

Hybrid rendering combines multiple page-generation strategies, such as static generation and server-side rendering, within one application.

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

How Acing the Frontend Interview covers it

How deep it goes
Explains SSG and SSR with use cases and short App Router examples, but stops short of implementation trade-offs beyond caching and freshness.
Examples
Uses blog and marketing pages for SSG, plus user profiles and dashboards for SSR.
What it assumes
Assumes React familiarity and introduces rendering strategy choices through mega-frameworks and App Router patterns.
What you can do after
Apply it via Next.js by selecting SSG for cacheable pages and SSR for fresh or user-specific pages.
How it connects
Connects static site generation, server-side rendering, content delivery networks, server components, data fetching, and mega-frameworks.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Frontend Interview. The section links point to the parts of the book it draws on.