ObservationsSite speed

No WordPress speed setting could fix the homepage, because it was a JavaScript app

In short

The homepage of a WordPress site was an empty box filled by a large script, so caching and image settings had nothing to work on.

What I did

I tried to speed up the homepage of an agency website built on WordPress. Nothing in the usual settings helped. When I looked at the raw page, the homepage was a single-page JavaScript app: an empty container plus a script of about 290 KB that builds everything in the browser.
Where

An agency website, 2026
What changed

I stopped changing WordPress settings for that page. Fixing it needs the app to send ready-made HTML from the server.
What you should do

If speed fixes do nothing, view your raw page source. If the body is almost empty, the page is built by JavaScript and needs a different kind of fix.
How long it took

About an hour to find

A single-page app is a site built mostly by JavaScript in the visitor’s browser, rather than sent as finished HTML.

Why it matters

Caching, image and CSS settings in WordPress work on HTML. Here the HTML was empty until the script ran, so the main content could only appear after a large download and processing. That made the load time slow and the settings useless.

How to check your own site

  • Right-click your page and choose View page source, not Inspect.
  • If you cannot find your main text in it, the page is built by JavaScript.

At a glance

Effort to copyAbout an hour
Type of businessAgency and SaaS
SubjectSite speed
290 KBscript that builds the page
0content in the page before it runs
1kind of fix that can help: server-side HTML
What this changed in how I work

Before tuning speed, I now check how the page is actually built. The tools only work on the kind of page they were made for.

Part of The SEO Lab, an open notebook of real SEO work, published as it happens.Recorded 8 November 2026. Filed under Observations. Everything here comes from work I did myself. If a number looks wrong, ask me how it was measured.

Keep reading in The SEO Lab

More entries on Site speed