Make your website faster: measure first, then fix what matters most
By Sina Esfahani, OmniTechs · Published 30 November 2026
A slow website shows it in three ways: the main content appears late, a tap gets a sluggish response, or the layout jumps. Google measures exactly these as the Core Web Vitals. To make your website faster, measure which one fails, find the part of the load that causes it, and fix that part first.
Start here: test your homepage on mobile in PageSpeed Insights, write down LCP, INP and CLS, and open the lab report's LCP breakdown. That screen tells you whether to start with images, the server or scripts.
Fix it in this order:
Measure three key pages on mobile and save the figures with the date.
Images: load the main image early, never lazy, at the size shown, in WebP or AVIF.
Server response: time to first byte of 0.8 s or less; no redirects.
Caching and CDN: ready-made pages; static files cached for at least 30 days.
Scripts and plugins: remove what adds no clear value, defer the rest.
Fonts: fewer families and weights, WOFF2, a deliberate font-display choice.
Measure again: lab result at once, real-user data after 28 days.
The three numbers that count: Core Web Vitals
LCP (Largest Contentful Paint) is the time until the largest image or text block on screen is visible. INP (Interaction to Next Paint) is how quickly the page visibly responds to taps, clicks and keys. CLS (Cumulative Layout Shift) scores unexpected layout jumps. INP replaced FID on 12 March 2024; a guide that still cites FID is out of date.
Google's thresholds for Core Web Vitals and time to first byte
| Metric | Measures | Good | Needs improvement | Poor |
|---|---|---|---|---|
| LCP | Main content visible | up to 2.5 s | 2.5 to 4.0 s | over 4.0 s |
| INP | Response to taps and clicks | up to 200 ms | 200 to 500 ms | over 500 ms |
| CLS | Unexpected layout shifts | up to 0.1 | 0.1 to 0.25 | over 0.25 |
| TTFB (not a Core Web Vital) | First byte from the server | up to 0.8 s | 0.8 to 1.8 s | over 1.8 s |
Three in four visits must be at least this fast; a page passes when all three are Good. Google uses Core Web Vitals in ranking, but still shows the most relevant page first and says a perfect score just for SEO may not be the best use of your time.
Measure before you change anything
Choose three pages: the homepage, your most visited service or product page, and one page of a type you have many of, such as a blog post.
Real-user data. Test each page on mobile in PageSpeed Insights. The field data covers real Chrome visitors over the previous 28 days. Note LCP, INP and CLS, and whether the data is for this page or the whole site: with too few visits it falls back to the whole origin. A new or quiet site may have none.
Lab data, five runs. The lab test is Lighthouse on one simulated phone. The Lighthouse team says the median of five runs is twice as stable as one run, so run it five times and note the middle LCP.
The LCP breakdown. In the lab result, open the insight LCP breakdown and note its four parts in milliseconds. Note the other flagged insights too.
Search Console. Open the Core Web Vitals report, mobile first. It groups similar URLs as Poor, Need improvement or Good by their worst metric. No data available means too little real-user data; then the lab test is your measure.
Write it down in a spreadsheet: page, date, field values, median lab LCP and the four parts.
Which fix first: read the LCP breakdown
LCP has four parts that add up to the total: time to first byte (the server starts sending the page), resource load delay (the wait before the main image starts downloading), resource load duration (the download) and element render delay (until it appears). web.dev suggests roughly 40% each for the first byte and the download, and under 10% each for the two delays.
What PageSpeed Insights shows and where to start
| What you see | What it means | Start with |
|---|---|---|
| Time to first byte over 0.8 s, or Document request latency flagged | Slow server, redirects or no page cache | Server response, then caching |
| Load delay well over 10% of LCP, or LCP request discovery flagged | Main image found late: lazy-loaded, a CSS background or added by a script | Images: load the main image early |
| Long load duration, Improve image delivery flagged | Image file too large or in an old format | Images: size and format |
| Long render delay, Render-blocking requests flagged | Stylesheets, scripts or fonts hold back display | Scripts, then fonts |
| INP needs improvement or poor, Third parties flagged | Scripts keep the browser busy | Scripts and plugins |
| CLS over 0.1, Layout shift culprits flagged | Images without dimensions, banners, font swap | Image dimensions, fonts |
The five fixes, in order of impact
The order follows how often each is the cause and how cheap the fix is. On 73% of mobile pages the LCP element is an image (2024 Web Almanac, quoted by web.dev), so images come first. If your breakdown points elsewhere, follow the breakdown.
1. Images: early, the right size, a modern format
Load the main image early. Google's analysis of Chrome data shows that sites with poor LCP wait almost four times as long before the main image starts downloading as they spend downloading it. So:
Put the main image in the page as a normal image, not as a CSS background or a slide a script adds later.
Never lazy-load it: loading="lazy" is for images further down the page.
Give that one image fetchpriority="high". High priority on more than one or two images stops helping.
WordPress 6.3 and later gives the first large image high priority and skips lazy loading for it. A theme or page builder can still interfere, so check the insight LCP request discovery: it reports whether the image is in the page itself, not lazy-loaded and high priority.
Size and format. Never send an image larger than it is shown; Improve image delivery lists each oversized image. Use WebP or AVIF: smaller than JPEG and PNG at the same quality, supported by current major browsers (AVIF not on iPhones before iOS 16). But most sites with poor LCP spend under 10% of their LCP time on the download itself, so an early start helps more than compression.
Dimensions. Give every image a width and height, or a CSS aspect ratio, so the browser reserves the space and nothing jumps. In the 2024 Web Almanac, 66% of pages had at least one image without dimensions.
Check: five new lab runs. Load delay and duration should fall and Improve image delivery should list fewer images. WordPress image settings are in the WordPress SEO guide.
2. Server response: hosting and time to first byte
Time to first byte (TTFB) is not a Core Web Vital, but everything waits for it: a TTFB of 2 s leaves 0.5 s for the rest of a good LCP. Good is 0.8 s or less. In the lab, Document request latency flags a server response over 600 ms, redirects and an uncompressed page.
Redirects. Link to the final address; each hop (http to https, missing www) adds time.
Compression. Gzip or Brotli is a server setting; ask your host if the insight flags it.
Page cache. See the next step; it often removes most of the server time.
Hosting. web.dev's TTFB guide says to consider hosting before any other server optimisation: enough memory and current server software. WordPress's documentation adds that newer PHP versions usually perform better and that hardware has a huge impact.
Check: a cache can hide a slow server. Also test the address with a unique parameter such as ?speedtest=1; web.dev notes that unique parameters can cause cache misses, so this often shows the server without cache. Moving host without changing addresses: see moving your website to other hosting.
3. Caching and a CDN
Page cache. The server stores the finished page instead of rebuilding it per visitor. WordPress caching plugins save posts and pages as static files, and many hosts have a built-in cache. Never cache personal pages such as the basket, checkout or account.
Browser cache. Images, stylesheets, scripts and fonts should stay cached for at least 30 days; Use efficient cache lifetimes lists shorter ones. This speeds up repeat visits, not the first view.
CDN. A content delivery network serves files, and optionally pages, from servers near the visitor. In the 2024 Web Almanac only 33% of HTML documents came from a CDN. Our reading: with visitors and server in the same country the distance gain is small, and the CDN's cache is what helps.
Check: clear the page and CDN cache after every change before you measure.
4. Scripts and plugins
Scripts mainly hurt INP and render delay: every chat widget, tracking tag or slider runs code on the visitor's phone, and long tasks (over 50 ms) stop the browser responding to a tap.
Take stock. Third parties groups external code by supplier; Render-blocking requests lists files that hold back display.
Remove what adds no clear value: old tracking tags, test tools, unused widgets and tag-manager tags.
Load the rest later: scripts with async or defer (a theme, plugin or developer setting); videos and maps further down only when the visitor scrolls to them.
WordPress plugins. WordPress's documentation says the number of plugins and their performance have a huge impact, and deleting unnecessary ones is a significant improvement. Removing a plugin on a live site is a change like an update: secure a restorable backup and test first, as in the WordPress update checklist.
A site built as a JavaScript application has its own trade-offs: see what a single-page application is.
Check: INP comes only from real visitors, so it changes in field data. In the lab, see whether Third parties and Render-blocking requests shrink, and tap through the page on a mid-range phone.
5. Fonts
Fewer fonts. Each family and weight is a file; as web.dev puts it, the fastest font is the one never requested. A system font costs nothing.
WOFF2. It compresses better than older font formats and every current browser supports it.
font-display. With swap, text appears at once in a fallback font and switches later, which can shift the layout. With optional, the browser waits at most 100 ms and otherwise keeps the fallback, so nothing shifts. If CLS is your problem, choose optional.
Preload only the most important font; preloading takes resources from other downloads, such as the main image.
Worked example: a builder's homepage
This example is invented. A building company's homepage scores Needs improvement on mobile. The median of five lab runs gives this breakdown, before and after two fixes:
LCP breakdown in milliseconds for the invented homepage
| Part | Before | After the image fix | After the page cache |
|---|---|---|---|
| Time to first byte | 1,500 | 1,500 | 500 |
| Resource load delay | 900 | 150 | 150 |
| Resource load duration | 1,200 | 300 | 300 |
| Element render delay | 200 | 200 | 200 |
| LCP | 3,800 | 2,150 | 1,150 |
Diagnosis. 1,500 + 900 + 1,200 + 200 = 3,800 ms: between 2,500 and 4,000, so Needs improvement. The delay is 900 ÷ 3,800 = 24% of LCP, far above the guideline of under 10%: a slider lazy-loaded the hero photo. TTFB, at 1,500 ms, is above the good value of 800 ms.
Fix 1, the image. The photo becomes a normal image with high priority and no lazy loading, and goes from a 480 KB JPEG to a 120 KB WebP: 75% smaller. Assuming the same connection, download time falls in proportion: 1,200 × 120 ÷ 480 = 300 ms. LCP becomes 1,500 + 150 + 300 + 200 = 2,150 ms: Good.
Fix 2, the page cache. With the host's cache on, TTFB falls to 500 ms and LCP to 1,150 ms. With a unique parameter the server still needs 1,400 ms: worth raising at the next hosting renewal, not urgent.
Real-user data. Fourteen days after the fix, with steady traffic, 14 ÷ 28 = 50% of the visits in the 28-day window predate it, so the field figure is a mix. Judge it after 28 days.
A different case. A webshop has a TTFB of 300 ms and an LCP of 1.9 s, but an INP of 380 ms. Third parties lists a chat widget and three tracking tags. Image work gains nothing here; removing two unused tags and loading the chat only after a click is the fix.
After each fix: confirm it worked
Change one thing at a time if you want to know what helped; settings interact, so one comparison never proves a single cause.
Clear every cache, run the lab five times and compare median and breakdown with your baseline.
Check nothing broke: forms, menu, basket, checkout. The website test checklist has the checks.
Validate in Search Console: in the Core Web Vitals report, open the issue and click Start Tracking. Search Console monitors 28 days; the status becomes Passed if no URL shows the issue in that period, Failed if one does.
When you are done, and when to get help
You are done when your main pages show Good for LCP, INP and CLS on mobile in real-user data. Without field data: when the median lab LCP is 2.5 s or less, CLS 0.1 or less, and nothing large remains under Improve image delivery or Document request latency. A lab score below 100 is no reason to continue.
Get help when the cause is beyond your reach:
TTFB stays above 0.8 s with the cache on: a hosting or application question. Give your host or developer the reports, TTFB with and without cache, and your plugin list.
INP stays poor after removing scripts: the theme or page builder's code needs a developer.
The main image is placed by a slider or builder you cannot change.
The wider technical base, from indexing to mobile, is in the technical SEO checklist.
Rather hand over hosting for an existing WordPress site? OmniTechs lists assisted WordPress hosting at an indicative €800 to €1,500 a year excluding VAT (30 November 2026), after assessing the setup and plugins; the proposal confirms capacity and included work. It makes no speed promise.

