Next.js

Choosing Next.js rendering for WordPress content

July 28, 20263 min read
Cover image for “Choosing Next.js rendering for WordPress content”

Key takeaways

  1. SSG/ISR for marketing; SSR only where freshness or personalization demands it.
  2. Wire on-demand revalidation to WordPress publish hooks.
  3. Preview is a first-class route—not a post-launch patch.
Match rendering to editorial cadence.

Headless WordPress into Next.js does not mean everything must be server-rendered. The useful question is: how often does this URL change, and who waits if it is stale?

  • Static / SSG — marketing pages, service pages, and case studies that change weekly or less. Fastest TTFB; rebuild or on-demand revalidate when CMS content changes.
  • ISR — large catalogs or news archives where you want static speed with periodic refresh. Set revalidate windows that match editorial cadence.
  • SSR — personalized or permissioned views, or content that must be correct on every request. Costs more at the edge; use deliberately.

A common CodeFern pattern: static shells for marketing routes, ISR for listings, and a small SSR surface for preview. Wire revalidation to WordPress publish hooks so you are not waiting on a nightly build.

Related: Headless migration

Industry context

Why rendering choices show up in metrics

Published research on site speed and WordPress scale—not CodeFern client guarantees.

Work with CodeFern

Ready to grow the stack?

Tell me what you are shipping—WordPress, a headless cutover, React Native, or a mix—and we will map a clear next step.