Website speed is one of those problems that’s easy to ignore until you look at the numbers. Visitors expect pages to appear almost instantly, especially on phones. When a page takes several seconds to show anything useful, many people simply hit the back button, and you never know they were there.
The good news: most slow websites are slow for a handful of predictable reasons. This guide shows you how to measure your site’s speed and fix the issues with the biggest impact first.
Step 1: Measure before you change anything
Guessing wastes time. Start with these free tools:
- PageSpeed Insights (pagespeed.web.dev) shows lab results plus real-world data from Chrome users when your site has enough traffic.
- Google Search Console has a Core Web Vitals report showing which page groups pass or fail.
- Chrome DevTools (Lighthouse and the Performance panel) lets you dig into what loads and when.
- WebPageTest provides detailed waterfalls and filmstrips from different locations and devices.
Test your most important pages: homepage, top service or product pages, and any landing pages you advertise. Always test the mobile version.
Step 2: Understand Core Web Vitals
Google’s Core Web Vitals measure the experience people actually have:
| Metric | What it measures | “Good” threshold |
|---|---|---|
| Largest Contentful Paint (LCP) | How quickly the main content appears | 2.5 seconds or less |
| Interaction to Next Paint (INP) | How quickly the page responds to taps and clicks | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | How much the layout jumps around while loading | 0.1 or less |
Each metric points to different causes, so knowing which one fails tells you where to look.
Step 3: Fix images (the most common culprit)
Images are often the heaviest part of a page and the usual cause of poor LCP.
- Resize images to the size they’re displayed. A 4,000-pixel photo shown at 800 pixels wastes bandwidth.
- Use modern formats like WebP or AVIF, which are typically much smaller than JPEG or PNG at similar quality.
- Compress images with a sensible quality setting.
- Use responsive images (
srcset) so phones download smaller versions. - Lazy-load images below the fold, but never lazy-load your main hero image, it should load immediately.
- Set width and height attributes so the browser reserves space and the layout doesn’t shift.
Step 4: Reduce and delay JavaScript
JavaScript affects both loading and responsiveness (INP). Common sources include page builders, sliders, chat widgets, tracking scripts, pop-ups and social media embeds.
- Remove what you don’t use. Audit every plugin, app and third-party script. If no one can explain why it’s there, it’s a candidate for removal.
- Defer non-critical scripts so they load after the main content.
- Load third-party widgets on interaction, for example, show a chat button that loads the full chat script only when clicked.
- Avoid heavy sliders and animations that block the main thread.
Step 5: Optimize CSS and fonts
- Remove unused CSS, especially from multipurpose themes.
- Inline critical CSS for above-the-fold content where your platform allows it.
- Limit custom fonts to the weights you actually use, self-host them when possible and use
font-display: swapso text appears immediately. - Preload your most important font files.
Step 6: Improve hosting and caching
Even a perfectly optimized page will feel slow if the server takes a long time to respond. Look at the Time to First Byte (TTFB) in your test results.
- Enable page caching so pages are served without rebuilding them for every visitor.
- Use a CDN (content delivery network) to serve files from locations close to your visitors.
- Upgrade hosting if your server is consistently slow. Cheap shared hosting is a frequent bottleneck for WordPress and WooCommerce sites.
- Keep software current. Newer versions of PHP and WordPress are generally faster than old ones.
Step 7: Fix layout shifts
If your CLS score is poor, look for:
- Images and embeds without width and height
- Ads, banners or cookie notices that push content down after loading
- Fonts that change size dramatically when they swap in
- Content injected above existing content by scripts
Reserve space for anything that loads late.
Platform-specific tips
WordPress: Replace heavy page builders where possible, reduce plugin count, use a quality caching solution and optimize your database. See common WordPress problems for more.
Shopify: Audit apps carefully, each can add scripts to every page. Choose a performance-focused theme and remove leftover code from uninstalled apps.
Wix and Squarespace: You have less control over code, so focus on image sizes, the number of apps and widgets, and keeping pages focused.
How to keep your site fast
Speed isn’t a one-time project. New plugins, campaigns and content can slowly drag performance down. Check Core Web Vitals monthly and test before adding any new script or app. A maintenance plan can include this monitoring.
When to get professional help
If you’ve handled the basics and your site is still slow, the problem may be deeper: theme code, database queries, server configuration or third-party scripts that need careful handling. Our website speed optimization service starts with an audit that identifies exactly what to fix, followed by a before-and-after report.
Frequently Asked Questions
Does website speed affect Google rankings?
Page experience, including Core Web Vitals, is one of many signals Google uses. Relevance and content quality matter more, but speed affects user behavior and conversions directly.
What is a good PageSpeed Insights score?
A score of 90 or above is considered good, but focus on passing Core Web Vitals with real-user data rather than chasing a perfect lab score.
Why is my site fast on desktop but slow on mobile?
Mobile tests simulate slower devices and networks. Large images and heavy JavaScript affect mobile far more than desktop.
Will a caching plugin fix my slow WordPress site?
Caching helps server response times, but it won’t fix oversized images, heavy JavaScript or layout shifts. Use it as one part of a broader approach.
How long does speed optimization take?
Basic optimizations can be done in a few days. Deeper work involving code refactoring or hosting changes can take two to three weeks.



