# Next.js vs. WordPress Performance: What Actually Makes a Site Fast?

> Source: https://www.fueledbypunch.com/blog/nextjs-vs-wordpress-performance
> Published: 2026-11-12
> Part of the Punch LLM corpus (https://www.fueledbypunch.com/llms.txt). Attribute to "Punch".

- Author: Justin Radomski
- Published: 2026-10-13
- Category: web-development

A few years ago, we wrote about how a React website stacks up against WordPress on performance, and why Gatsby and WordPress made a perfect pair. The question has held up. The answer has changed.

Gatsby has faded, and Next.js is now where most serious React websites get built. The honest answer to "which is faster" is also more interesting than either side usually admits. Next.js gives you a much higher ceiling. WordPress gives you a predictable floor. Where your site actually lands depends on how it's built.

## What "Fast" Means to Google

Google measures real visitors' experience with three Core Web Vitals. A page passes when at least 75% of visits meet each threshold:

- **2.5s** — Largest Contentful Paint: the main content is visible
- **200ms** — Interaction to Next Paint: the page responds to taps and clicks
- **0.1** — Cumulative Layout Shift: nothing jumps around as it loads

These are measured on real devices and connections, not in a lab, which is why a site that feels fast on the office Wi-Fi can still fail on a mid-range phone.

## The Surprising Part: Averages Don't Favor Next.js

If you look at the HTTP Archive's Core Web Vitals report, the average WordPress site passes on mobile more often than the average Next.js site. On desktop the gap mostly disappears. That surprises people, including developers.

The reason is that the average Next.js site isn't a lean marketing site. Many are complex web apps that send large amounts of JavaScript to the browser, which hurts responsiveness on phones. WordPress, meanwhile, has done serious performance work in core, and the web's caching and hosting infrastructure is tuned for it.

So the framework alone doesn't decide the outcome. What it decides is how much effort it takes to be fast, and how fast you can get.

## Where the Time Goes on Each Platform

### WordPress — Built on request

**Per visit**

- PHP and a database assemble each page
- Page caching hides most of that cost
- Every plugin can add its own CSS and JavaScript
- Theme and builder markup add page weight

### Next.js — Built ahead of time

**Pre-built**

- Pages rendered ahead and served from a CDN
- Only the code each page needs is sent
- Images and fonts optimized by the framework
- Server components keep JavaScript off the page

**On WordPress, speed is something you defend.** A clean install with a good host and page caching is quick. Then the site grows: a slider plugin, a form plugin, a chat widget, a page builder, a second analytics tag. Each one adds files to every page, whether that page uses them or not. Most slow WordPress sites weren't built slow. They slowed down one plugin at a time.

**On Next.js, speed is the default you have to avoid breaking.** Pages can be generated ahead of time and served from servers close to the visitor. Images are resized and converted to modern formats automatically. Fonts are self-hosted and loaded so the layout doesn't shift. Code is split so each page only loads what it uses. You can still make a slow Next.js site, mostly by sending too much JavaScript or stacking third-party scripts, but you have to work at it.

That's the real difference. Both platforms can produce a fast site. Next.js makes the fast path the easy path, and it has a much higher ceiling when you need it.

## What Happened to Gatsby?

For a while, Gatsby was the answer to "how do I make WordPress fast?" It turned WordPress content into a static React site at build time, and the results were genuinely quick.

Then the problems showed up at scale. Every content change meant rebuilding the site, and on large sites builds could take a long time. In 2023, Netlify acquired Gatsby. Its hosted Gatsby Cloud service was folded into Netlify's own platform, and the framework has seen few releases and little new development since. Most new projects that would once have chosen Gatsby now choose Next.js or Astro.

Next.js solved the problem that held Gatsby back. Pages can be pre-built like a static site, then regenerated individually when content changes, so publishing a post doesn't mean rebuilding everything.

### If You're Running a Gatsby Site Today

It probably still works, and there's no need to panic. But it's running on a framework with no real future, and every plugin and dependency will get harder to update. Plan a migration on your schedule rather than an emergency one. If your content lives in WordPress, it can stay there: moving to a headless WordPress build with a Next.js front end replaces the front end and leaves your editors' workflow alone.

## What Actually Makes a Site Fast

Whichever platform you're on, the same handful of decisions decide most of your Core Web Vitals.

**Send less JavaScript**

JavaScript is the most expensive thing you can send to a phone, because it has to download, parse and run before the page responds. Every carousel, animation library and widget should earn its place.

**Get images right**

The largest element on most pages is an image. Serve it in a modern format, at the size it's displayed, and load it first. Lazy-load everything below the fold.

**Keep fonts lean**

Two families, only the weights you use, self-hosted. Our web fonts guide covers how to load them without delaying your text.

**Put third-party scripts on a budget**

Tag managers, chat widgets, heatmaps and ad pixels are behind more failing sites than any framework. Audit them yearly and remove what nobody uses.

**Cache close to the visitor**

Serve pages from a CDN so they don't have to be built on every request. It's the default in Next.js, and a page caching plugin plus a CDN can get WordPress most of the way there.

**Measure real visitors, not lab scores**

A perfect Lighthouse score on your laptop means little. Check the Core Web Vitals report in Google Search Console, which uses field data from real Chrome users.

**Takeaway**

The framework sets the ceiling, and the build decides where you land. A disciplined WordPress site will beat a careless Next.js site. But when your website is a growth channel and speed is tied to revenue and rankings, Next.js makes it far easier to get fast and stay fast.

## Why We Build on Next.js

For sites where performance matters, our default is Next.js paired with a headless CMS. It's the stack that makes speed the default rather than a constant fight, and we explain the business case in more detail in why we build on Next.js.

If your site is slow and you're not sure whether the platform or the build is to blame, send it our way. We'll tell you which one it is, and whether you need a rebuild or a cleanup.
