Contents
Free quote and a personal response within 24 hours.
Request a quoteThis guide assumes the diagnosis is complete
This article does not explain the three metrics, their thresholds, or the difference between field and lab data. These concepts are covered in our Core Web Vitals guide, which we recommend reading first.
What follows is a practical sequence: eight concrete improvements to a WordPress installation, ordered by impact, with the time each takes and the milliseconds it saves. The context is a live site with existing content, plugins, and a theme.
A preliminary note on method: apply one improvement at a time and measure after each one. Making five optimizations in one session makes it impossible to identify which produced the gain and, more importantly, which broke the display.
If you have not yet identified the source of the problem, start with our five-minute diagnosis, which explains which pages to measure and in what order to fix them.
The first four improvements address infrastructure and improve every page on the site at once. The next four address the front end and apply template by template. Starting with the latter is the most common mistake: you optimize a page served by a slow server, and the gain remains invisible.
Improvement 1: PHP version and opcode cache
This is the least expensive and most cost-effective improvement, yet it is still overlooked on a substantial proportion of sites.
Moving from PHP 7 to a recent PHP 8 release commonly reduces page generation time by 30% to 50%, without changing a line of code. The switch takes a few clicks in the hosting control panel and takes effect immediately.
The precaution is compatibility. An older theme or plugin may not support the new version, resulting in a blank page. Test the change in a staging environment and ensure you can roll it back in one click.
This post-update check is the most costly part of a maintenance contract, and the one budget plans leave out: see the real annual cost of WordPress maintenance.
The opcode cache, enabled by default by most reputable hosting providers, avoids recompiling code on every request. Check that it is enabled in the Site Health screen and ask your host to enable it if it is not.
Expected gain
On a site with a response time of 1.5 seconds, upgrading from an old version to a recent one commonly brings the response time below 800 milliseconds. Cost: one hour of testing, no development.
Improvement 2: Full-page caching
Without caching, WordPress rebuilds each page on every visit: querying the database, running the theme, and running every plugin. With page caching, the first visit generates a static file that subsequent visitors receive directly.
The effect is substantial on sites with stable content. A response time of 900 milliseconds frequently falls below 200. This is the only setting capable of producing such a difference in a single change.
Three precautions are essential. Exclude pages that must remain dynamic, such as the cart, customer account, and checkout; otherwise, one visitor may receive another’s cart. Purge the cache whenever content is published, which reputable plugins do automatically. And verify that the cache actually works by checking the response headers.
On low-end shared hosting, caching partially compensates for a weak server. It does not eliminate the problem: the first visit to each page remains slow, and on a catalog with thousands of URLs, many visits are first visits.
Improvement 3: Object cache and database
Page caching does not cover everything. The queries WordPress repeats to retrieve its options and metadata continue to access the database whenever a page is generated without a cached copy.
A persistent object cache keeps these results in memory between requests. The gain is significant on sites with a high proportion of dynamic pages, particularly online stores, and modest on a business website with extensive caching.
The database itself also needs periodic cleaning. Post revisions accumulate in the tens of thousands, tables from uninstalled plugins remain in place, and expired temporary entries are never purged. Always back up before cleaning; never perform it on the live database.
This is one of the tasks covered by a WordPress maintenance contract, precisely because it deteriorates continuously and remains out of sight.
Improvement 4: Content delivery network and compression
A content delivery network serves static files from a location close to the visitor. The gain depends entirely on how geographically dispersed your audience is.
For a site with local customers and hosting in the same country, the benefit is marginal. For a site serving multiple countries, it becomes decisive: latency between a French server and a visitor in Spain or the Middle East can reach hundreds of milliseconds, which nothing else can offset.
Compressing text responses is a separate setting that is worthwhile in every case. It reduces the size of markup and style files by 60% to 80%. It is generally enabled by default, but checking takes a minute and it can be overlooked.
Improvement 5: Images, the largest source of gains
On most sites we audit, images account for the majority of page weight and half of the available performance gain.
Format
Serving WebP or AVIF instead of JPEG reduces file size by 30% to 50% at the same visual quality. Several plugins automatically convert the existing library and serve the appropriate format for each browser.
Actual dimensions
An image 3,000 pixels wide displayed in an 800-pixel container wastes bandwidth on every visit. WordPress generates intermediate sizes, but the theme must use them correctly, which is not always the case.
Lazy loading, except for the main element
Lazy loading should apply everywhere except to the image visible on initial load. Applying it to that image delays its download and significantly worsens the display metric. The banner image should instead receive a high fetch priority.
This is the most common and costly mistake in the field because optimization plugins apply lazy loading to everything by default.
Improvement 6: Plugin CSS and JavaScript
The principle fits in one sentence: load only what each page uses.
A form plugin that injects its files across the entire site when its form appears on only one page is pure waste. A gallery plugin, a map plugin, a sharing module: each adds its resources everywhere.
Conditional loading is configured with a dedicated plugin that lets you disable resources page by page. The work is tedious but systematic, and commonly reduces the size of style and script files by 30% to 50%.
Critical CSS completes the approach. It involves placing the styles needed to display the visible portion directly in the document and loading the rest afterward. The gain is in rendering delay, often the longest stage after server response time.
Beware of automatic concatenation offered by optimization plugins. It combines files to reduce the number of requests, which made sense before modern protocols became widespread but now causes breakage more often than it helps.
Improvement 7: Elementor and the build method
The page builder’s reputation for being resource-heavy largely stems from older versions and default configurations left unchanged.
Features to enable
Optimized asset loading, on-demand CSS loading, inline font icons, and optimized document output. These settings remove tens of kilobytes per page and can be enabled in two minutes in the advanced settings.
Then check the display on the main templates. Some older themes depend on styles these options remove, and a visual check prevents a customer from discovering an unpleasant surprise.
The build method matters just as much
Flexbox containers are a better alternative to the old section, column, widget stack, which multiplied nesting levels and increased the size of the document tree. On a complex page, the difference amounts to hundreds of elements.
Disabling unused icon libraries and animations eliminates entire requests. Limiting the number of third-party widgets avoids importing dependencies for a minor visual effect.
For our custom website projects, we rewrite blocks in native HTML and CSS when their widget versions cost too much in performance. This approach requires development and produces results no setting can achieve.
Improvement 8: Third-party scripts, the leading cause of poor responsiveness
This is the factor that determines the responsiveness metric, and the one nobody monitors.
A tag manager that loads six tracking tools, a chat widget, a review module, an advertising pixel: each adds long tasks that monopolize the main thread. The visitor clicks, and nothing happens for several hundred milliseconds.
The first step is an inventory. List every external script loaded by your pages and ask who uses the data each one produces. On sites we take over, it is common to disable three redundant tools installed at different times.
The second is deferral. A chat widget has no reason to load before the first interaction. Triggering it on the first scroll or when the user hovers over its button frees the main thread during the critical phase.
The third is breaking up long tasks, which requires development. An event handler that runs several hundred milliseconds of computation in one block must yield control to the browser between steps.
Web fonts: an inconspicuous but costly factor
Custom fonts account for an often underestimated share of rendering delay and visual instability. Three settings are enough to address these effects.
First, local hosting. Loading a font from a third-party domain requires an additional DNS lookup, connection negotiation, and round trip before the download even begins. Copying the files to your own server eliminates this chain and also improves visitor privacy.
Next, preloading, applied only to the two or three font weights actually used in the visible portion. Preloading eight variants is equivalent to prioritizing nothing and saturates bandwidth at the critical moment.
Finally, the display strategy. Some browsers hide text by default while a font loads, delaying the display of content. Declaring an immediate fallback to the system font displays text at once, at the cost of a visual change when the final font loads. This change can be reduced by adjusting the fallback font’s metrics.
On a typical site, this work takes two hours and frequently cuts 0.2 to 0.4 seconds from rendering delay, with a visible effect on visual stability.
What changes on mobile in practice
The thresholds are identical on mobile and desktop, but the conditions are not. A mid-range phone has far less processing power, and a mobile network adds latency and variability.
The most significant consequence concerns JavaScript. A script that runs in 50 milliseconds on a desktop takes 200 on a modest phone. Long tasks that go unnoticed in testing become real delays for visitors.
The second consequence concerns images. Serving the same image to a phone screen and a desktop screen wastes bandwidth where it is scarcest. Responsive image sets solve this problem, provided the theme generates them correctly.
The testing method must reflect this. Measuring from a computer on a fiber connection gives a flattering but misleading picture. Tools can simulate a slower device and network, and this simulation should be the default setting for your checks.
Document the settings applied
A performance project produces a configuration that must continue to work without its author. Without written records, the next provider may reactivate disabled resources, reinstall a removed plugin, or undo a setting without understanding why it was there.
One page of documentation is enough: which plugins were disabled and on which pages, which builder settings are active, which third-party scripts are deferred and how, and which cache exclusions were applied and why.
This page takes half an hour to write and saves days of untangling. It also serves as a reference when regressions occur: when a score drops, the first question is what changed from the documented configuration.
Recommended order of execution
Here is the sequence we follow, with the estimated time for each step on a medium-sized site.
- PHP version and opcode cache. One hour, immediate effect on every page.
- Full-page caching, with exclusions. Two hours, the largest individual gain.
- Object cache and database cleanup. Half a day, particularly useful on dynamic sites.
- Compression and content delivery network if the audience warrants it. Two hours.
- Images: format, dimensions, loading priorities. One day, the second-largest gain.
- Reduce CSS and JavaScript on each page. One to two days depending on the number of plugins.
- Builder settings and reworking resource-heavy templates. One day.
- Inventory and deferral of third-party scripts. Half a day, decisive for responsiveness.
Allow three to five days in total for a typical site. The first two steps often account for half the gain in less than a tenth of the time.
Measure between each step
Lab testing provides immediate feedback and validates whether an improvement produced the expected effect without waiting. It says nothing about what your visitors experience.
Field data takes 28 days to fully reflect a fix because the observation window is rolling. A partial shift generally appears after one to two weeks.
In practice, you need two tracking dashboards. One for the project, fed by lab measurements after each improvement. The other for the outcome, recorded monthly in Search Console by page group.
Never draw conclusions from a single lab measurement. Variations between runs can easily reach 10%, and interpreting that difference as progress leads to incorrect decisions.
Make the gains last
A performance project produces a snapshot in time. Without monitoring, the site returns to its previous state within 12 to 18 months as heavy content, added plugins, and updates that reactivate disabled resources accumulate.
Three habits are enough to maintain the gains. An automated monthly check on three representative templates—homepage, service page, and article—to detect a regression within days. A publishing rule requiring a specific format and maximum file size for added images, enforced through automatic conversion. And a quarterly plugin review to uninstall what is no longer used.
These three habits naturally form part of a maintenance contract that covers performance, and they cost a fraction of the initial project. Neglecting them means repeating that project every two years.
The greatest vulnerability is content added by untrained users. A 6 MB image added to an article can single-handedly undo the work done on that template. Automatic conversion on upload addresses this risk without relying on individual discipline, making it the most cost-effective setting in the entire monitoring process. The same logic applies to website creation: what is not automated eventually stops getting done.
When optimization reaches its limit
There are situations where these eight improvements are not enough, and it is better to know before spending three weeks on them.
An overloaded generic theme designed to cover every use case loads features your site does not use and no setting can remove. An accumulation of interdependent plugins makes conditional loading impossible without breaking something. A stack of templates built by successive providers creates an unmanageable document tree.
In these three cases, you gain 0.3 seconds, lose as much at the next update, and the threshold remains out of reach. Rebuilding then becomes less expensive than maintenance, a trade-off detailed in our article on warning signs that a redesign is needed.
The decision criterion is simple: if the response time remains above one second after the first four infrastructure improvements, the problem is in the site itself, not its surroundings.
The case of online stores
E-commerce adds constraints that change the caching strategy.
Catalog pages can be cached normally, but cart and account pages cannot. A misconfigured cache that serves one customer’s page to another causes a serious incident. This configuration warrants manual verification rather than blind trust in default settings.
Product pages present a volume problem. With 800 products, many visitors are viewing each product page for the first time, making caching less effective and server response time even more important.
Finally, filters generate thousands of URL combinations that crawlers explore at the expense of useful pages. Managing them is as much an SEO issue as a performance issue, a subject covered in our e-commerce SEO service.
Key Takeaways
The eight improvements fall into two groups. The first four address infrastructure and improve every page in a few hours: PHP version, page cache, object cache, and compression. They often produce half the total gain.
The next four address the front end and take several days: images, resource reduction, builder settings, and third-party scripts. The last of these determines responsiveness, and it is the least monitored.
Apply one improvement at a time, measure each one in the lab, and check the real-world result in Search Console a month later. If the server still takes more than a second to respond after the first four improvements, the problem is structural and the discussion turns to architecture. The sites featured in our portfolio meet the thresholds from launch, avoiding this remedial work.
Frequently asked questions
+
+
+
+
+
+

