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
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.
End of Lab entry No. 075
- The biggest speed win was hidden icon and font files that my caching plugin did not touchIt worked24 Oct 2026
- Sending the hero image preload as a server header cut load time by about a secondIt worked23 Oct 2026
- Moving jQuery to the footer made the page paint faster, then broke its layoutIt backfired23 Oct 2026
