Why is your website slow? 9 causes and how to fix them step by step

Why does your website load slowly? We explain how to measure speed properly, the 9 causes seen on every platform and how to fix each one step by step, with notes for WordPress, Shopify, Wix and custom-coded sites.

A laptop showing a speed gauge and charts, coffee beside it
Reading time
15 min
Sections
7

The short answer to why a website loads slowly: heavy images, a slow server, missing caching, too much JavaScript and third-party code together make the browser wait a long time before it can show anything. Most sites have several of these at once, so no single setting fixes speed for good. The right fix starts with measurement and moves on by finding the layer that delays the page the most.

A slow site keeps visitors waiting, makes them put off buying or getting in touch, and can put you at a disadvantage in search results. If a visitor sees no content in the first seconds, they close the tab and often never come back. In this post you will first learn how to measure speed, then the nine causes of a slow site and practical fixes for each. The last sections cover platform-specific notes, the right order of work and which jobs need a specialist.

Measure speed properly first

Speed work starts with measurement, because improvements based on guesswork usually spend time on the wrong layer. Four tools are enough: PageSpeed Insights, the Core Web Vitals report in Search Console, Lighthouse in Chrome DevTools, and WebPageTest or GTmetrix. Used together, they show both the real user experience and how the page behaves technically.

  1. Test your page on PageSpeed Insights and save the mobile result and the suggested improvements.
  2. Open the Core Web Vitals report in Search Console and note the page groups that fail the thresholds.
  3. Open the same page in Chrome DevTools, run a test in the Lighthouse tab with the mobile profile, then record a Performance trace and watch the loading order.
  4. Test from a different location with WebPageTest or GTmetrix and find the slowest request in the waterfall.
  5. Collect the findings in one list: which page, which metric, which value, which request.

Don't skip the mobile test. Most visitors arrive on a phone, and phones have less processing power and a less stable connection than desktops. A page that feels fine on a desktop can load noticeably slower on a phone, so base your decisions on the mobile result.

PageSpeed Insights shows two kinds of data. Field data comes from the Chrome UX Report and covers the last 28 days; lab data is a one-off Lighthouse test. Sites with little traffic may have no field data at all, in which case you work with lab data and measure regularly. When the two disagree, give priority to field data, because it reflects the real conditions of your site.

Core Web Vitals thresholds: LCP good up to 2.5 seconds, poor after 4 seconds; INP good up to 200 ms, poor after 500 ms; CLS good up to 0.1, poor after 0.25; TTFB good up to 0.8 seconds, poor after 1.8 seconds.

LCP (Largest Contentful Paint) measures how long it takes for the largest image or text block on the page to appear. INP (Interaction to Next Paint) measures how quickly the screen responds after a click or tap; it replaced FID in March 2024. CLS (Cumulative Layout Shift) measures how much content moves around while the page loads. TTFB (Time to First Byte) measures how long the browser waits for the first byte from the server; TTFB is not a Core Web Vital, but it directly affects the other metrics. For a page to count as good, at least 75% of visits must stay under the threshold, so the 75th percentile is what counts. The thresholds come from web.dev's Core Web Vitals guide.

9 causes of a slow site and how to fix them

The causes below apply on every platform, and most sites have several of them at once. Under each heading you will find the symptom, the cause, the fix step by step and an example.

Six steps as a page loads: the request reaches the server, the server sends the first byte, CSS and JavaScript download, first content appears, the largest element appears, the page is ready for input. Next to each step are the causes that slow it down.

1. Large, unoptimised images

Symptom: Images appear one by one as the page loads, and the large image at the top stays an empty box for a long time.

Cause: Photos taken on a phone are uploaded as they are, and the browser has to download files of several megabytes.

  1. Save images as WebP or AVIF; both formats work in all current browsers.
  2. Scale images to the size they are displayed at; don't upload a catalogue photo 4,000 pixels wide.
  3. Use srcset, an attribute that lets the browser pick the right file for the screen width.
  4. Add lazy loading to images outside the screen, so an image only loads when it comes into view. Don't use it on the LCP image, which has to load right away.
  5. Give every image width and height values, so the browser reserves the space and the page doesn't shift.

Example: When a product photo is uploaded at 180 KB instead of 3 MB, the quality looks the same to the eye but the download time drops noticeably.

2. A slow server and high TTFB

Symptom: Even the skeleton of the page arrives late, and the browser tab shows a blank screen for a long time.

Cause: The server answers the request late. Shared hosting, a distant server location, outdated software or heavy database queries can be behind it.

  1. Check the resource limits of your hosting plan; on shared plans, neighbouring sites can slow yours down.
  2. Move the server closer to your audience; if most visitors are in Europe, the server should be in Europe too.
  3. Make sure your stack runs current versions; old versions are slow and a security risk.
  4. Find slow queries and simplify them, and don't pull unnecessary data on listing pages.
  5. Cache repeated queries.

Example: If most visitors come from Germany while the server runs on another continent, every request adds avoidable network delay. Moving the server region lowers TTFB measurably.

If the server side needs a lasting fix, our hosting service covers this step.

3. Missing caching

Symptom: The same page is rebuilt for every visitor, and server load and response time grow during the day.

Cause: No caching layer has been set up for page output, the browser or database queries.

A cache stores a ready-made version of a page and serves it to the next visitor without building it again.

  1. Turn on page caching and make sure the cache is cleared when content changes.
  2. Set long-lived browser cache headers for CSS, JavaScript, fonts and images.
  3. Use an object cache on database-heavy pages; an object cache keeps the results of frequent queries in memory.
  4. Exclude personalised pages and checkout steps from the cache.
  5. After caching, test the page in a private window and while logged in.

Example: On a brochure site whose homepage changes a few times a day, turning on page caching means visitors get the ready-made page and waiting time drops.

4. No CDN

Symptom: The site loads noticeably slower for visitors from other regions or countries.

Cause: All files come from one server, and every request from far away adds network delay.

A CDN (Content Delivery Network) serves static files from servers in different parts of the world.

  1. Connect your domain to a CDN service and complete the DNS setup.
  2. Serve images, CSS, JavaScript and fonts through the CDN first.
  3. Cache the HTML response on the CDN too, with a lifetime that matches how often your content changes.
  4. Test that the CDN picks the location closest to the visitor.
  5. After going live, measure TTFB and LCP again.

Example: When a site hosted in one country starts serving images from nearby locations to visitors abroad, the time to first render goes down.

5. Too much JavaScript

Symptom: The page is visible, but buttons don't respond for a while and scrolling stutters.

Cause: The browser has to download and run a large JavaScript bundle, which is all of the site's code packed into one file.

  1. Work out which code is really needed and remove unused libraries.
  2. On site builders, switch off heavy templates and apps you don't use.
  3. Load code that only one page needs on that page only, not across the site.
  4. Reduce the cost of hydration, the process of turning server-rendered HTML into an interactive page in the browser.
  5. Review third-party scripts one by one in your tag manager.

Example: On a WordPress site that loads slider, form and page builder plugins on every page, removing them lets the same content load with far less code. This is just one example; the same problem appears on every platform.

6. Render-blocking CSS and JavaScript

Symptom: The page stays white, and content appears only after several steps.

Cause: Before it can draw the page, the browser hits files it has to wait for.

  1. Split out critical CSS, the smallest set of styles needed to show the first screen.
  2. Load the remaining styles after the page has loaded.
  3. Add defer to JavaScript files, so they run after the HTML has been processed.
  4. Remove unused CSS and JavaScript.
  5. Minify files and strip unnecessary comments and whitespace.

Example: On a page that loads three theme stylesheets and two separate libraries, removing unused code and splitting out critical CSS speeds up the first render noticeably.

7. Third-party code

Symptom: The site is fast on your own server, but on some pages the delay rises unpredictably.

Cause: Chat widgets, analytics, ad pixels, maps and video embeds pull code from their own servers, and those requests are outside your control.

  1. List which third-party code is really used and remove the rest.
  2. Start chat and analytics tools with a delay, after the page has loaded.
  3. Load maps only when someone clicks them.
  4. Use the facade technique for YouTube videos: show a light cover image instead of the player and load the player on click.
  5. Clean up unnecessary tags and chained triggers in your tag manager.

Example: If the homepage has an autoplaying video and an embedded map, these two elements alone can delay the first render. When both load on click, the first screen gets faster.

8. Web fonts and layout shift

Symptom: Text first appears in a fallback font, then jumps; buttons move.

Cause: The font file loads late, and the browser has to lay the text out again.

  1. Use font-display: swap, which shows text in a fallback font until the web font has loaded.
  2. Create a subset that only contains the characters you actually use, a much smaller version of the font file.
  3. Add preload to the most important font file so it starts downloading earlier.
  4. Consider system fonts as a fast and safe option.
  5. Reserve space in advance for images, ads and banners.

Example: On a page that uses three font families, cutting them down to two means fewer files to download and removes most of the text shifting.

9. Redirect chains and unnecessary requests

Symptom: Several redirects show up in the address bar, and the network panel lists files returning 404.

Cause: The URL format isn't standardised, old links form chains and compression is off.

  1. Handle http to https and www to non-www in a single step.
  2. Point internal links straight to the final URL instead of leaving them to a redirect.
  3. Fix or remove image, font and script requests that return 404.
  4. Turn on Brotli or Gzip compression, which makes text files much smaller on the network.
  5. Remove requests from unused plugins, widgets and libraries.

Example: If an old campaign link passes through three redirects, every hop is delay for the user. Pointing the link straight at its destination removes the extra wait.

What to watch on each platform

The causes are the same everywhere, but each platform gives you a different area to work in, and the settings you can reach shape your plan.

Platform comparison: on WordPress and custom-coded sites you manage the server, caching, theme, code and images. On Shopify the platform manages the server and caching, and you can change code partly. On Wix and similar builders you manage theme and code partly and images fully; the platform manages server and caching.

WordPress

On WordPress, speed is usually decided by theme, plugins and hosting together, and you have access to caching and compression on the server side. In our WordPress business website projects we list every plugin first, then measure.

  • Delete unused plugins and themes instead of just deactivating them.
  • Limit page builder and slider plugins to the pages that use them.
  • Turn on page caching, object caching and Brotli compression together.
  • Use automatic WebP conversion and a size limit when uploading images.
  • Before launch, go through our WordPress pre-launch checklist.

Shopify

On Shopify, the server and infrastructure are managed by Shopify, so your control lies in the theme, apps and images. We set this balance up from the start during a Shopify store setup.

  • Remove apps you don't need; every app loads extra scripts.
  • Don't use the heavy slider and video sections that come with the theme.
  • Resize and compress product images before uploading them.
  • Run third-party app scripts only on the pages that need them.
  • Measure speed again after theme updates.

Wix, Squarespace and Webflow

Site builders give you no access to server settings. Your control is in images, apps and templates, so the biggest gains come from making the content lighter.

  • Switch off apps and add-ons you don't use.
  • Avoid heavy background videos and large slider images.
  • Upload images in the format and size the platform recommends.
  • Use animation sparingly; don't add motion to every section.
  • Don't add pages and components you don't need.

Custom-coded sites (React, Next.js, Vue)

On JavaScript-heavy custom sites, the biggest gains come from sending less code to the browser and preparing the first view on the server. With our AI-assisted development approach, we make these changes based on measurement.

  • Build pages with SSR or static generation; SSR means the HTML is prepared on the server and sent to the browser ready to show.
  • Apply code splitting, which breaks code into separate files per page or component.
  • Use the framework's own image component and let it handle size and format conversion.
  • Load heavy client-side libraries only when they are needed.
  • Load third-party scripts with a delay, using the script components frameworks like Next.js provide.

In what order should you work?

Taking both impact and ease of implementation into account, this is the most efficient order:

Impact and effort matrix: images, caching and compression are high impact and easy; server, CDN and heavy JavaScript are high impact but hard; redirects, font settings and third-party scripts are lower impact and easy; render-blocking code is lower impact and harder.
  1. Measure and write down the current values.
  2. Compress and resize images and convert them to the right format.
  3. Turn on page caching, browser caching and compression.
  4. Clean up redirect chains and requests that return 404.
  5. Reduce and delay third-party code.
  6. Fix render-blocking files and split out critical CSS.
  7. Improve the server and CDN side.
  8. Reduce JavaScript weight and apply code splitting.
  9. Measure again with the same tools and compare with the first values.

On most sites, the first five steps can be done quickly and bring a visible gain. Server, CDN and JavaScript work takes more effort, so based on measurement it comes last. If you don't measure after each step, you won't know which change made the difference.

When should you call in a specialist?

You can safely handle jobs like compressing images, turning on caching and cleaning up plugins yourself. Server configuration, database queries, theme code, redirect rules and checkout steps carry a higher risk of error; a wrong change there can take the site down for a while or cost you orders.

On a project, we work in this order: we measure the current state first, then list the work by impact and effort, apply each item one at a time and measure again with the same tools. That way it stays clear what each change achieved, and no work is wasted. If you need ongoing maintenance, we handle monitoring and checks as part of our technical support.

Frequently asked questions

Does my PageSpeed score need to be 100?

No, the score is not a goal in itself. What matters is that your Core Web Vitals stay in the good range in field data. Making changes that harm the page just to raise the score leads to the wrong result.

Why is my site slower on mobile?

Phones have less processing power, a less stable connection and a smaller screen. On top of that, the page usually downloads the same heavy files. That is why mobile results need to be looked at separately from desktop.

How much does speed affect SEO?

Speed is one of Google's ranking signals, but it doesn't decide rankings on its own. Content quality, matching search intent and technical accessibility carry more weight. Still, a slow page loses visitors early; even with good rankings, that means lost enquiries and sales. We handle this balance together in our SEO and GEO ready website work.

Is caching enough on its own?

No. Caching only speeds up content that has already been prepared; heavy images, too much JavaScript and a slow server stay as they are. For lasting results, caching has to go together with the other steps.

Will changing hosting break my site?

Not if it is planned well, but it does need care. Domain settings, email records, the database and file permissions all have to move completely, and the site has to be tested after the move. An unplanned switch can cause short outages.

I use Wix or Shopify and don't manage the server. What can I still do?

A lot, on the image, app and template side. Shrinking images, removing unused apps, cutting back heavy sliders and videos and limiting third-party scripts are all in your hands. On site builders, these are the areas with the biggest gains.

How often should I check site speed?

Measuring once a month is enough, but measure right after big changes. Check after a theme update, a new plugin, a campaign page or a new app. This habit lets you spot a slowdown before your visitors do.

Summary

  • A slow site usually comes from several factors together, not from one cause.
  • The first step is always measurement; guesswork spends time on the wrong layer.
  • Images, caching and compression bring the fastest gains.
  • Third-party code and JavaScript weight are two problems that grow unnoticed.
  • Measure again with the same tools after every change.

Let's find out together why your site is slow. We'll measure the current values and plan the three steps that will bring the biggest gain. Reach us through the contact page and let's talk.

All posts

Come, let's build what you have in mind.

Whether it's an idea for a new website or support for your current one, write to us briefly and we'll decide together how we can help.