Guide
Website speed optimisation: what to fix, and in which order
By MedyAjans · Updated:
Speed is not a plugin. Most slowness concentrates in three line items, and starting to fix things before measuring which one is hurting you is the most expensive route.
Website speed optimisation is the work of measuring and fixing what makes a page slow to appear and respond on the visitor’s device: first measure where the delay comes from, then do the job with the biggest gain first, and measure again after every step.
Calling a site “slow” is easy; saying what is slow is hard. This guide walks through the real sources of slowness in the order you should investigate them: what to measure first, what to fix next, and which work looks productive but changes nothing.
Measure the right thing first
The most common mistake is measuring from your own machine on your own connection. You have already opened the site once; everything is cached. Your visitor arrives for the first time, on a phone, often over a mobile network.
A meaningful measurement meets three conditions: no cache (like a first visit), a mobile device profile and a throttled connection. The same page can look fine on a desktop measurement and poor under those three — and the second is what your visitor experiences.
There is no single number to watch. When meaningful content first appears, when the largest element settles and whether the layout shifts are separate problems; one can be good while another is bad. Looking at a single composite score does not tell you which job to do.
The three main sources of slowness
Across the sites we review, most slowness concentrates in three line items — usually in this order:
- 1. Images. Photographs saved without dimensions, larger than needed, in the wrong format. A single background image can outweigh everything else on the page combined.
- 2. Third-party scripts. Analytics, chat widgets, maps, font services, advertising pixels. Each connects to a separate domain, and each connection means a DNS lookup plus a TLS handshake. Your server can be fast and the page still waits on theirs.
- 3. Web fonts. Text is either invisible until the font arrives or jumps once it does. Most sites load about twice as many font files as they actually use.
What these three share: none of them is “the server is slow”. Upgrading the server is the most expensive and least effective intervention on most sites, because the bottleneck is not response time — it is the payload the browser must download and process.
Which job, in which order?
| Job | Typical impact | Difficulty | Note |
|---|---|---|---|
| Resize and compress images | High | Low | Usually the biggest single win; no content changes needed |
| Remove unused third-party scripts | High | Low | Inventory first: which of these is actually used? |
Add width/height to images | Medium | Low | Directly removes layout shift |
| Reduce the number of font files | Medium | Low | Using system fonts removes the cost entirely |
| Lazy-load off-screen images | Medium | Low | Applied to a visible element it makes things worse |
| Cache headers + version stamps | Medium | Medium | Caching without stamps stops fixes from reaching visitors |
| Upgrade the server | Low | High | Wasted money if response time is already fine |
The order is not arbitrary: low difficulty plus high impact comes first. On most sites the first two rows deliver more than everything below them combined.
Three mistakes we see repeatedly
Lazy-loading a visible element. A blanket “make all images lazy” setting also defers the image at the very top of the page; the largest element settles later and the score drops. Lazy loading is for off-screen elements only.
Long cache lifetimes without version stamps. Set a week-long cache and keep filenames fixed, and a fix you deploy will never reach anyone who visited before. A stamp (?v=…) is the only fix for this.
Chasing a single score. The composite score these tools give is a summary, not a target. Deleting content to raise it produces a fast site that does not work. The correct target is reducing how long the visitor waits.
Is a speed plugin or a CDN enough on its own?
Usually not; each solves one specific problem and makes no measurable difference if that is not your problem. A caching plugin stops the server rebuilding the page on every request, so it shortens server response time. If the real weight of the page is large images, third-party scripts and fonts, the plugin does not touch them; the browser still downloads the same payload.
A CDN (content delivery network) serves files from a server geographically close to the visitor. It helps noticeably when your visitors are in countries far from your server; when most visitors are in the same country as the server the gain is small. A CDN does not shrink files either: a 2 MB image is still 2 MB from a CDN.
That is why the order does not change: measure first, then reduce the payload (images, scripts, fonts), and speed up delivery last. A plugin or a CDN shortens what remains after the payload has been reduced; it does not replace that work. Running several speed plugins at once can do the same job twice and break caching — measure again after each one.
A concrete example: this site
You can verify this with your browser’s developer tools while reading. Measured on our own home page (4 September 2026): five requests and under 90 KB transferred, the document itself 7.8 KB compressed with Brotli, zero third-party domains and zero web fonts.
These numbers are not a boast but a benchmark: most of the page weight is the logo image, because everything else has been removed. No chat widget, no embedded map, fonts come from the system. Speed is not a feature you add; it is the result of what you leave out.
We added measurement on the same principle: the analytics script loads only if the visitor consents in the cookie banner. For a visitor who does not, the page still opens with zero third-party domains; only a small first-party consent script is added. A visitor who consents downloads Google’s script — a cost we pay knowingly, and only with permission.
What are the Core Web Vitals thresholds?
To count as “good” on Google’s Core Web Vitals there are three thresholds: the largest content element should render (LCP) within 2.5 seconds, the response to interactions (INP) should be 200 milliseconds or less, and layout shift (CLS) should be 0.1 or less. Assessment uses the 75th percentile of page views, separately for mobile and desktop.
| Metric | What it measures | Good | Poor |
|---|---|---|---|
| LCP (Largest Contentful Paint) | When the largest content element on screen appears | ≤ 2.5 s | > 4 s |
| INP (Interaction to Next Paint) | How quickly the page visibly responds to clicks and taps | ≤ 200 ms | > 500 ms |
| CLS (Cumulative Layout Shift) | Unexpected movement of elements while the page loads | ≤ 0.1 | > 0.25 |
Source: Google’s web.dev documentation (defining the Core Web Vitals thresholds). The band between the two is “needs improvement”. INP replaced FID as the interaction metric in 2024.
The three metrics answer different questions and do not substitute for one another: LCP asks “when did the page arrive?”, INP “how quickly does it react when I tap?”, CLS “does content jump while I read?”. A page can open very fast and still stutter on every tap; then shrinking images gains nothing — the work is on the JavaScript side.
The 75th percentile means a page counts as “good” on a metric only if at least three of every four visits stay under the threshold. Because a percentile is used rather than an average, visitors on fast connections cannot offset the poor experience of visitors on slow phones.
What is the difference between field data and lab data?
Lab data is a tool loading and measuring the page on one device and network profile; field data is measurements collected from real visitors’ browsers. The Core Web Vitals assessment is based on field data. Lab measurement is for finding the problem and trying a fix; field data is for seeing whether the result really changed.
| Lab data | Field data | |
|---|---|---|
| Source | A one-off, controlled load | Real visitors’ browsers |
| When you see it | Immediately | Takes time to accumulate; needs enough traffic |
| INP | Not measured directly; work blocking the main thread gives an approximate signal | Measured from real interactions |
| Best use | Finding the cause, testing a change before release | Proving the change reached visitors |
The two can disagree, and that is not an error. If lab results look good but field data is poor, your visitors are probably on slower devices and networks than the test profile — or the poor experience is on a page other than the one you measured. Low-traffic sites may have no field data at all; then lab measurement should use a throttled mobile profile.
Where do LCP, INP and CLS problems usually come from?
Each metric has typical causes: LCP usually suffers from a heavy or late-discovered hero image, INP from long JavaScript tasks blocking the main thread, and CLS from images, ads and embeds whose size is not known in advance. Knowing which metric is poor tells you which job to start with.
| Metric | Common causes | First fix to look at |
|---|---|---|
| LCP | Large hero image · lazy loading applied to the hero · image injected later by script · slow server response | Size the hero image, remove lazy loading from it and put it directly in the HTML |
| INP | Long JavaScript tasks · heavy third-party scripts · large DOM updates on click | Remove unused scripts, break long tasks into smaller pieces |
| CLS | Images without width/height · ads and embeds that settle late · late-loading web fonts | Give images dimensions, reserve space for embeds |
Website speed checklist: step by step
The list below is ordered from high-impact, low-effort work downwards. After each step, measure again under the same conditions (no cache, mobile profile, throttled connection); an unmeasured fix cannot be known to work.
- 1. Take a baseline. Record LCP, INP and CLS for your three most important pages (home page, highest-traffic page, conversion page).
- 2. Inventory third parties. List every domain the page connects to; remove what is unused.
- 3. Fix the hero image. Save it at its display size, convert it to a modern format, take it out of lazy loading.
- 4. Give images dimensions. Every image should have width and height or an aspect ratio.
- 5. Lazy-load off-screen images. Only those below the fold.
- 6. Reduce web fonts. Keep only the weights you need; use system fonts where you can.
- 7. Trim unused CSS and JavaScript. Do not load code needed on one page on every page.
- 8. Verify compression. Check in the response headers that text files are sent compressed.
- 9. Set cache headers with version stamps. Long caching only for files whose names change.
- 10. Measure server response time. Invest on the server side only if this value is high.
- 11. Re-measure and record. Compare under the same conditions as the baseline.
- 12. Watch field data. Follow how the change reaches real visitors over a few weeks.
What is a performance budget and why set one?
A performance budget is a written list of limits a page must not exceed: total page weight, number of requests, number of third-party domains and the metric thresholds. If speed is fixed once and left alone, every new plugin, campaign image and tracking code slows the site down again. Check the budget before every release; a change that breaks it is either slimmed down or something else is removed in its place.
Which tools can you use to diagnose site speed?
Four free tools are enough to diagnose speed: the browser’s developer tools (network and performance panels), Lighthouse (lab measurement), PageSpeed Insights (lab and field data for the same page) and the Core Web Vitals report in Search Console (groups of pages across the whole site). Each answers a different question.
| Tool | Question it answers | Watch out |
|---|---|---|
| Developer tools — Network | Which files does the page download, from which domains, how many bytes? | Disable the cache and use mobile throttling |
| Developer tools — Performance | Which task blocks the main thread, and for how long? | This is where the source of INP problems shows |
| Lighthouse | How does the page load under controlled conditions, what does it suggest? | Results vary between runs; measure several times |
| PageSpeed Insights | How do real visitors experience this page? | Field data appears only with enough traffic |
| Search Console — Core Web Vitals | Which groups of pages fail the thresholds? | Works by page group; go back to the other tools for single-page detail |
Order matters in diagnosis: first use Search Console or PageSpeed Insights to find which page and which metric has the problem, then look for the cause in developer tools, and finally test the fix in Lighthouse before release. Starting straight from a list of suggestions often spends time on low-impact work.
How do you prove the result of speed work?
The result of speed work is proved by before/after measurements of the same pages under the same conditions, followed by the change in field data. “The score went up” is not enough; write which metric changed, on which page, and by how much.
- Same conditions. Before and after measurements use the same device profile, the same network throttling and no cache.
- More than one run. Lab measurements vary between runs; look at the median of several runs, not a single one.
- Field window. Because field data is aggregated over time, the full effect of a change shows only after a few weeks; do not expect it the next day.
- Business outcome. Speed is a means: compare a business indicator such as bounce rate, form submissions or sales before and after as well.
Speed and technical SEO are linked; we cover the rest of search visibility on our SEO and GEO service page.
Frequently asked
My site is slow — will a bigger server fix it?
Usually not. Upgrading only helps if the server’s response time is genuinely high. On the sites we review the bottleneck is almost always on the browser side: large images, third-party scripts and fonts. If response time is already reasonable, a more powerful server produces no measurable difference — only a higher monthly bill. Measure first.
What score should we aim for?
A score is a summary, not a target. Very different experiences can share the same score. The better questions are: how many seconds until the visitor sees meaningful content, when does the largest element settle, and does the layout jump while loading? Get those three right and the score follows; chase the score and you end up deleting content to produce a fast site that does not work.
Which image format should we use?
Modern formats (WebP/AVIF) give a clear gain for photographs; PNG or SVG is right for drawings, logos and flat-colour graphics. But two things matter more than format: saving the image at the size it will actually be displayed, and giving it width and height attributes. A photo saved at 3000 pixels wide and displayed at 400 is waste in any format.
How much do analytics and chat widgets slow a site down?
More than you would expect. Every third-party script connects to a separate domain: DNS resolution, TLS handshake, then download and execution. Add three or four tools and the page spends more time waiting on other people’s servers than on your own files. You do not have to remove them all — but each one should be justified by evidence that it is used and produces a result. An unused tracking script is pure cost.
Is it cheaper to speed up our site or rebuild it?
Usually to speed it up. Image optimisation, removing unnecessary scripts and fixing cache settings can all be applied without rewriting, and they typically deliver most of the available gain. Rebuilding makes sense only when the platform is genuinely unsustainable — an unpatchable system, or accumulated plugin debt. Measurement tells you which case you are in, and we will say plainly when rebuilding really is the cheaper path.
Let us measure your site
We will measure your current site uncached, on a mobile profile, and rank the three jobs that would gain the most. The measurement is free.

