Page Speed Optimisation: How to Make Your Website Load Faster

Share:
Page Speed Optimisation

Your website is probably slower than you think. Open it on a mid-range Android phone, on mobile data, with nothing cached, and count how long you stare at a blank screen. Most owners test on a fast laptop over office wifi and walk away happy. Their visitors are somewhere else, on a bus, on patchy 4G, and they are already hitting the back button. Page Speed Optimisation is the work of closing that gap, and it pays back faster than almost any other fix you can make to a website.

The numbers are not subtle. Google and SOASTA looked at mobile visits in 2017 and found that as load time goes from 1 second to 3 seconds, the chance of a visitor bouncing jumps by 32%. Stretch it to 5 seconds and that jump is 90%. Deloitte and Google followed up in 2020 with a study called Milliseconds Make Millions, covering 37 brands. A site that got 0.1 second faster saw retail conversions rise by 8.4%. One tenth of a second. That is less than a blink.

So why are so many sites still slow? Because most people treat speed like a score. They install a caching plugin, watch the PageSpeed Insights number go from 54 to 61, and call it a day. Then the site is still slow where it matters, because the real problems were a 4 MB hero image, eleven tracking scripts and a server that takes a full second just to start replying. Speed work is boring. You find the biggest problem, fix it, measure again, and repeat.

This guide walks through that loop from the start. You will see how to measure properly, which tools to trust, how to fix images, code, fonts, hosting, caching and mobile problems, what a real before and after looks like, and which popular advice is a waste of your afternoon. It is written for people who may be doing this for the first time, so every term gets explained the first time it shows up. No jargon wall, no fluff, just what actually moves load time.

What You Will Learn in This Guide

This section is a quick map of the whole article, so you know what is coming and can jump to the part that matches your problem. Read it top to bottom if you are new. Skip around if you already know the basics and just need a specific fix.

  • What Page Speed Optimisation actually means, and what a slow site costs you in traffic and sales
  • How to measure speed with PageSpeed Insights, Lighthouse, WebPageTest and Search Console without fooling yourself
  • How to shrink and serve images properly, since they are the heaviest thing on most pages
  • How to clean up CSS, JavaScript, fonts and third-party scripts that block the page from showing
  • How hosting, TTFB and a CDN decide your speed before the browser even starts
  • How caching and database cleanup work on WordPress and Shopify
  • Why mobile is where most sites lose, and how to fix layout shifts and slow taps
  • A walk-through of a realistic before and after, step by step
  • The mistakes and myths that waste the most time
  • A checklist and monitoring routine, plus 12 answers to questions people keep asking

TL;DR

Short on time? Here are the points that matter most. Everything else in this guide is detail behind these six lines, so if you remember nothing else, remember these.

  • Measure first with real-user data (Search Console, CrUX) and lab data (Lighthouse), because a fast lab score can hide a slow real-world experience.
  • Images cause most of the weight on most pages, so convert to WebP or AVIF, resize to the display size and never lazy-load the main hero image.
  • A server response (TTFB) above 800 milliseconds means no amount of front-end tuning will get you a fast site, so fix hosting and caching early.
  • Third-party scripts like chat widgets, pixels and heatmaps are the usual reason a clean site becomes a slow one, so audit them every quarter.
  • Aim for Core Web Vitals in the green: LCP under 2.5 seconds, INP under 200 milliseconds and CLS under 0.1.
  • Change one thing at a time, test again, and keep a simple log, because that is the only way to know what actually worked.

What Page Speed Optimisation Actually Means and Why It Matters

What Page Speed Optimisation Actually Means and Why It Matters

Page Speed Optimisation means making a web page appear and become usable as quickly as possible for the person visiting it. It covers images, code, servers, caching and how the browser draws the page. This section sorts out the definitions, the money side, and what a good target looks like.

Page Speed vs Load Time vs Perceived Speed

These three get mixed up constantly, and the difference changes what you fix. Load time is the total time until everything on the page has finished downloading. Page speed is a looser idea, meaning how fast the page feels and works. Perceived speed is what the visitor believes, and it is the one that decides whether they stay.

Here is a real example. Two pages both finish loading in 4 seconds. Page A shows a blank white screen for 3.5 seconds and then everything pops in at once. Page B shows the headline and main image at 1.2 seconds and fills in the rest while you read. Same load time on paper. Totally different experience. Nobody complains about Page B.

That is why modern tools stopped obsessing over total load time. They measure moments instead: when the first content appears, when the biggest element shows, when the page responds to a tap. Good Page Speed Optimisation focuses on getting the important stuff on screen first and letting the less important stuff wait.

What a Slow Website Really Costs You

A slow site costs money in three places at once. First, visitors leave before the page even loads, so your ad spend and your SEO traffic get wasted. Second, the ones who stay convert less. Third, Google treats speed as part of the page experience signals, so a slow site can slip in search results against a similar faster one.

Let me put numbers on it with a simple example. Say a store gets 20,000 mobile visits a month, converts at 1.5%, and the average order is 1,800 rupees. That is 300 orders, about 5.4 lakh rupees. If a speed fix lifts conversion by even a modest 8%, like the Deloitte study found for a 0.1 second gain, that is 24 extra orders. About 43,000 rupees more per month, from the same traffic and the same ads.

Yeah, that is the part that gets ignored. Speed is not a technical vanity project. It is one of the cheapest ways to get more out of traffic you already paid for.

What Counts as a Fast Website in Practice

There is no single magic number, but there are useful targets. Google publishes thresholds for Core Web Vitals, and these are the ones to aim for on real visitors: Largest Contentful Paint (when the biggest visible element loads) under 2.5 seconds, Interaction to Next Paint (how quickly the page responds when someone taps or clicks) under 200 milliseconds, and Cumulative Layout Shift (how much things jump around) under 0.1.

For the server, Time to First Byte under 800 milliseconds is the usual good mark. For page weight, HTTP Archive data keeps showing the median mobile page above 2 MB, so anything under 1.5 MB total is already ahead of most of the web. Under 1 MB for a simple blog or landing page is realistic.

Do not chase 100 out of 100 in Lighthouse. A score of 90 with a happy real-world experience beats a perfect lab score that took three weeks and broke your chat widget. Aim for green Core Web Vitals on real users first, then polish.

How to Measure Before You Fix: Page Speed Optimisation Tools and Core Web Vitals

How to Measure Before You Fix Page Speed Optimisation Tools and Core Web Vitals

You cannot fix what you have not measured, and you cannot trust one test. Good Page Speed Optimisation starts with a baseline built from both lab tests and real visitor data. This section covers which tools to use, how to read them, and how to avoid the traps.

Lab Data vs Field Data in PageSpeed Insights

Open PageSpeed Insights (pagespeed.web.dev), paste your URL and look at the top of the report. You will see two kinds of data. The top block, labelled as real-user experience, is field data from the Chrome User Experience Report, called CrUX. It shows how actual Chrome visitors experienced your page over the last 28 days. Below it sits the lab data, from Lighthouse, which is one simulated test.

They often disagree, and that is fine. Lab data is a controlled test on a simulated mid-range phone with slow 4G. Field data is messy reality across thousands of devices. If field data is green and the lab score is 62, your real visitors are probably fine. If the lab score is 95 but field data fails, something is different for real users, like a heavy third-party script or a slow server in their region.

One catch: small sites sometimes have no field data at all because there are not enough Chrome visits. In that case lean on Search Console and your own testing.

Core Web Vitals Explained: LCP, INP and CLS

Core Web Vitals are three measurements Google uses to judge real user experience. LCP, Largest Contentful Paint, marks when the largest text block or image in the viewport finishes rendering. On most pages it is the hero image or main headline. Good is 2.5 seconds or less.

INP, Interaction to Next Paint, replaced the older First Input Delay metric in March 2024. It looks at how long the page takes to visually respond after taps, clicks and key presses across the whole visit, and good is 200 milliseconds or less. Heavy JavaScript is the usual cause of a bad score.

CLS, Cumulative Layout Shift, measures unexpected movement. You know the feeling: about to tap a button and an ad loads above it, everything slides down, and you hit the wrong thing. Good is 0.1 or less. Images without set dimensions, late-loading banners and web fonts that swap are the common culprits.

Lighthouse, WebPageTest and GTmetrix Compared

Lighthouse is built into Chrome DevTools (open DevTools, find the Lighthouse tab, pick Mobile, run). It is quick, free and good for catching obvious problems. But it runs on your own machine, so a busy laptop skews results. Run it three times in an incognito window and take the middle result.

WebPageTest (webpagetest.org) is the one to use when something is confusing. Pick a real device and location, then read the waterfall chart. It shows every file in the order it loaded, so you can see exactly which request held everything up. Nothing else explains slowness as clearly.

GTmetrix is friendlier for beginners and good for sharing reports with clients. Its waterfall and history graphs are useful for tracking change over time. Honestly, using PageSpeed Insights for the overview and WebPageTest for the digging covers about 90% of what you need.

Setting a Baseline You Can Trust

Before changing anything, write down your starting numbers. Test your homepage, your top product or service page, and your most visited blog post, since each behaves differently. Record LCP, INP, CLS, TTFB, total page weight and number of requests, once on mobile and once on desktop.

Test at a quiet time, with the same tool and the same settings each time. Test three times and keep the median. Save screenshots of the reports with the date in the filename. A basic spreadsheet with one row per test is enough.

The mistake most people make here is skipping this step, fixing five things at once, and then having no clue which fix helped. Keep a log. A single line like removed chat widget, LCP 3.8 s to 3.1 s tells you what works on your site specifically.

Page Speed Optimisation for Images: The Biggest Win on Most Websites

Page Speed Optimisation for Images The Biggest Win on Most Websites

Images are usually the heaviest part of any page, often more than half the total bytes. That makes them the best place to start Page Speed Optimisation. This section covers formats, sizing, lazy loading and the tools that do the compressing.

Choosing the Right Image Format: WebP, AVIF, JPEG and PNG

Format choice alone can cut an image by a third or more. JPEG is fine for photos but old. PNG is meant for graphics with sharp edges or transparency, and it is huge for photos. WebP, which Google released in 2010, is often 25% to 35% smaller than a JPEG at the same visual quality and works in every current browser.

AVIF goes further. It can be around half the size of a JPEG in many cases and now has wide browser support. The trade-off is that encoding takes longer and some tools do not export it yet. A sensible approach: serve AVIF where you can, WebP as the fallback, and keep JPEG only for old edge cases.

SVG is the right choice for logos and icons, because it is code rather than pixels and scales without getting heavier. A common mistake is saving a logo as a 300 KB PNG when a 3 KB SVG does the job.

Resizing and Responsive Images with srcset

Sending a 4000 pixel wide photo to a phone with a 390 pixel screen wastes almost all of those bytes. The browser downloads the huge file, then shrinks it. Resize images to roughly twice the largest size they appear on screen (twice, to keep them sharp on high-density displays) and no more.

For more control, use the srcset attribute. It lets you offer the same image at several widths, say 480, 800 and 1200 pixels, and the browser picks the best one for the visitor’s screen. WordPress does this automatically for images in the media library, which is one reason leaving that feature on matters.

Check your hero image first. If it is displayed at 1200 pixels wide on desktop and the file is 2400 pixels at 900 KB, resizing and converting to WebP can drop it under 120 KB. That single change can move LCP by a full second.

Lazy Loading Done Right (and Where It Backfires)

Lazy loading tells the browser not to download images until the visitor scrolls near them. Add loading=lazy to an image tag and you are done. For long pages with many images, like a blog post or a product grid, this saves a lot of initial weight.

Here is where people get burned. Never lazy-load the image that is your LCP element, usually the hero image at the top. Doing so tells the browser to wait, which makes the most important image load later. Lighthouse even flags this. Instead, add fetchpriority=high to that hero image so the browser fetches it first.

A good rule: the first one or two images visible without scrolling load normally, and everything below the fold is lazy. Also set width and height on every image so the browser reserves space and the layout does not jump.

Compression Tools That Actually Work

For one-off images, Squoosh (squoosh.app, built by the Google Chrome team) is free and lets you see the quality loss side by side as you slide the quality setting. TinyPNG is a quick drag and drop option for batches.

For WordPress, plugins like ShortPixel, Imagify or Smush compress images on upload, convert them to WebP and can bulk-process your old library. Set lossy compression at around 75 to 82 quality for photos. Most people cannot see the difference, and the file drops sharply.

For Shopify, the platform already serves images through its CDN and converts to WebP automatically, but you still need to upload sensible sizes. Uploading a 6 MB camera original and hoping Shopify fixes it is the classic mistake. Prepare images before you upload.

Page Speed Optimisation for Code: CSS, JavaScript, Fonts and Third-Party Scripts

Page Speed Optimisation for Code CSS, JavaScript, Fonts and Third-Party Scripts

Once images are under control, the next weight comes from code. Browsers must download, read and run it before they can draw the page. This section shows how to trim CSS and JavaScript, stop files from blocking the screen, and deal with fonts and outside scripts.

Minifying CSS and JavaScript Files

Minifying means stripping out spaces, comments and long variable names from code so the file gets smaller without changing what it does. A 300 KB stylesheet might drop to 220 KB. It sounds small, but across a dozen files on a slow connection, it adds up quickly.

On WordPress, plugins like WP Rocket, LiteSpeed Cache or Autoptimize have a minify toggle. Flip it on, then browse your site in a private window. Check the menu, forms, sliders and checkout. Minifying occasionally breaks a script, and finding that out on your own site beats finding out from a customer.

As for combining files into one big bundle, that advice is old. It made sense before HTTP/2, when each request was expensive. Today, combining often does more harm than good, because one huge file blocks the page longer. Minify yes. Combine only if testing shows a clear gain.

Render-Blocking Resources and How to Defer Them

A render-blocking resource is a file the browser must finish loading before it can show anything. Stylesheets and scripts placed in the head of the page are the usual offenders. PageSpeed Insights lists them under Eliminate render-blocking resources, with the time each one costs.

For JavaScript, add the defer attribute to the script tag. This lets the browser keep drawing the page while the script downloads, then runs it afterwards, in order. The async attribute is similar but runs scripts the moment they arrive, which suits independent things like analytics.

For CSS, the trick is critical CSS: the small slice of styles needed for the top of the page, placed straight into the HTML, while the rest loads later. WP Rocket and similar tools generate this for you. Do not try to write it by hand unless you enjoy pain. Test afterwards for flashes of unstyled content.

Taming Third-Party Scripts: Chat, Pixels and Tag Managers

This is the section where most clean, fast sites go wrong. Every tracking pixel, live chat bubble, heatmap, review widget and ad tag adds its own downloads, and you have no control over how fast they are. A single chat widget can add 300 KB and half a second of JavaScript work.

Open your site in WebPageTest and look at the waterfall, grouping by domain. You will often find a dozen outside domains, including Meta Pixel, Hotjar, Google Tag Manager, a chat tool, a font host and some forgotten script from a campaign two years ago. Ask what each one earns you. If nobody can answer, remove it.

For the ones you keep, load them late. Many chat tools can wait until the visitor scrolls or moves the mouse. In Google Tag Manager, fire non-essential tags on Window Loaded instead of Page View. Honestly, this one habit has fixed more sluggish sites than any plugin.

Web Fonts Without the Slow Flash

Custom fonts look good and cost speed. Each font weight is its own file, usually 20 to 50 KB, and a page asking for Regular, Medium, Semi-Bold and Bold in two families can pull eight files. Cut it down. Most designs work fine with two weights.

Host fonts on your own server rather than calling Google Fonts from their domain. Since browsers stopped sharing cached fonts between sites, the old advantage of the shared Google cache is gone, and self-hosting saves an extra connection. Add font-display: swap in your CSS so text shows right away in a fallback font and then swaps.

Also preload your main font file with a link tag in the head. That tells the browser to fetch it early rather than discovering it late after reading the CSS. Use WOFF2 format only, since it is the smallest and every current browser supports it.

Removing Unused Code with Chrome’s Coverage Tool

Most sites ship a lot of code that never runs on a given page. A theme loads its slider script on the contact page. A page builder loads its full library for a plain paragraph. Chrome DevTools can show you how much of it is dead weight.

Open DevTools, press Ctrl+Shift+P (Cmd+Shift+P on Mac), type Coverage and pick Show Coverage. Click reload and look at the report. Every file gets a red and blue bar, and red is code that was downloaded but never used. It is normal to see 60% or more red on a typical WordPress theme.

Once you know which files are mostly unused, you can fix it. On WordPress, a plugin like Asset CleanUp or Perfmatters lets you turn off specific scripts on specific pages. If you want to go deeper into how this code actually works, the Web Development Mastery Program teaches the HTML, CSS and JavaScript fundamentals behind these fixes.

Server, Hosting and CDN

Nothing you do in the browser can save a site whose server takes a full second to answer. Page Speed Optimisation starts with hosting, response time and how far your files travel. This section covers TTFB, hosting types, CDNs and modern protocols.

What TTFB Is and Why a Slow Server Ruins Everything

Time to First Byte, or TTFB, is how long the browser waits between asking for the page and receiving the first piece of the reply. It includes the network trip, the server thinking, and the database work. Web.dev suggests keeping it at or below 800 milliseconds.

Think of it as a restaurant. TTFB is the time before the waiter even acknowledges you. If that takes a minute, it does not matter how fast the kitchen plates the food afterwards. A TTFB of 1.8 seconds means LCP cannot possibly be under 2.5 seconds, because almost the whole budget is gone before the page starts.

To check yours, run WebPageTest and look at the first row of the waterfall. Check it from a location near your visitors too. If TTFB is high in every test, the cause is usually cheap hosting, no page caching, or slow database queries. Fix those before touching anything on the front end.

Choosing Hosting: Shared, VPS, Managed and Cloud

Shared hosting, at around 100 to 300 rupees a month, puts hundreds of sites on one server. It works for tiny sites and falls apart when a neighbour gets a traffic spike. If your TTFB jumps around between 400 ms and 3 seconds across the day, this is probably why.

Managed WordPress hosts like Kinsta, WP Engine and Cloudways, plus Indian providers with LiteSpeed servers, tune everything for WordPress: PHP version, server caching, object caching. They cost more, often 1,000 to 5,000 rupees a month, and usually cut TTFB to 200 to 400 ms. A VPS gives you control but also the job of looking after it.

Location matters. If most of your visitors are in India, pick a data centre in Mumbai or Delhi rather than Frankfurt or Virginia. Distance adds real delay. And always run a current PHP version on WordPress, since PHP 8.x is noticeably faster than 7.x. The web development guides on this site cover hosting setups in more detail.

Using a CDN Like Cloudflare

A CDN, short for content delivery network, keeps copies of your static files (images, CSS, JavaScript) on servers around the world and hands each visitor the nearest copy. A visitor in Chennai gets files from a nearby node rather than a server in another continent.

Cloudflare’s free plan is the easiest way to start. Point your domain’s nameservers to Cloudflare, switch on the proxy (the orange cloud), and your static files start being served from their network. It also adds basic security and free SSL. For WordPress, Cloudflare APO costs about 5 dollars a month and caches your actual HTML pages at the edge, which can bring TTFB down dramatically.

One warning: set caching rules carefully. Caching a cart or account page for everyone is how people end up seeing each other’s baskets. Exclude checkout, cart and logged-in pages.

HTTP/2, HTTP/3 and Brotli Compression

These are protocol upgrades that mostly happen on the server, and good hosts switch them on by default. HTTP/2 lets the browser download many files over one connection at the same time, which removed the need for the old tricks like combining files. HTTP/3 improves it further, especially on shaky mobile networks.

Compression shrinks text files (HTML, CSS, JavaScript) before sending them. Gzip has been the standard for years. Brotli, from Google, usually compresses 15% to 20% better than Gzip. If your host or CDN supports Brotli, turn it on. Cloudflare does it by default.

To check, open your page in Chrome DevTools, go to the Network tab, click a CSS file and look at the Content-Encoding response header. You want to see br or gzip there. If it is blank, your text files are going out uncompressed, and that is an easy win waiting for you.

Caching and Database Clean-Up

Caching means saving finished work so it does not have to be repeated for every visitor. It is the biggest speed lever on dynamic sites. This section explains browser caching, page caching, database health, and the platform quirks of WordPress and Shopify.

Browser Caching and Cache-Control Headers

Browser caching tells a visitor’s browser to keep files like your logo, CSS and fonts for a while, so repeat visits do not download them again. Without it, someone clicking through five pages downloads your logo five times. It is a waste of their data and your server.

The instruction is sent in a response header called Cache-Control. For files that rarely change, like images and fonts, a max-age of one year (31536000 seconds) is standard. For CSS and JavaScript, use the same long period but change the file name when you update them, which is called versioning or cache busting.

PageSpeed Insights flags this as Serve static assets with an efficient cache policy. On most WordPress setups, plugins like WP Rocket or W3 Total Cache set these headers for you. On Cloudflare, the Browser Cache TTL setting does the same job.

Page Caching and Object Caching

WordPress builds every page on the fly: it runs PHP, asks the database a bunch of questions, assembles the HTML and sends it. That takes time. Page caching saves the finished HTML, so the next visitor gets a ready-made file in a few milliseconds instead.

The difference is big. A WordPress page with no caching might have a TTFB of 900 ms. With page caching it often drops to 100 to 200 ms. WP Rocket (paid, about 59 dollars a year) is the easiest option. LiteSpeed Cache is free and excellent if your host runs LiteSpeed servers. Run only one caching plugin, since two of them fight each other.

Object caching is the next layer. It stores database query results in memory using Redis or Memcached, which helps busy, dynamic sites like WooCommerce stores where full-page caching cannot apply to every visitor. Many managed hosts include it.

WordPress Plugins and Database Clean-Up

Every plugin adds code, and some add database queries on every page. A site with 45 plugins is almost always slower than one with 15, not because of the count, but because each one is another chance for something heavy. Open the plugin list and be honest about which ones do nothing useful.

Install Query Monitor, a free plugin that shows which plugins and queries slow each page. Look at the slowest queries and the plugin that triggered them. It often points straight at an old related-posts or analytics plugin chewing through resources.

Then clean the database. Old post revisions, spam comments and expired transients pile up. Limit revisions to 5 in wp-config.php, and use WP-Optimize to clear the junk. Always take a backup first. If you want to check your own code and meta tags while you are at it, the free SEO and web tools on this site can help.

Shopify Speed: Apps, Themes and Liquid

Shopify handles hosting, CDN and image conversion for you, so your control is limited to the theme and the apps. That is also where problems start. Each app can inject scripts into your theme, and those scripts stay behind even after you uninstall the app.

Start by checking your theme. Shopify’s free Dawn theme is built for speed, and many heavier paid themes are slower. If your store feels slow, test the same page on a clean Dawn install and compare. A big gap tells you the theme is the problem.

Then audit apps. Open Online Store, then Themes, then Edit code, and search theme.liquid for leftover app snippets. Remove the ones from apps you deleted. Also check whether any app can be replaced with a few lines of theme code. A countdown timer app that loads 200 KB of scripts is hard to justify.

Mobile Page Speed Optimisation: Where Most Websites Actually Lose

Most traffic now arrives on phones, and phones are slower than the laptop you test on. Mobile Page Speed Optimisation deals with weaker processors, unstable networks and touch input. This section explains why mobile scores lag and how to fix layout jumps and slow taps.

Why Mobile Is Slower Than Desktop

A phone has two disadvantages. The network is slower and less steady, and the processor is far weaker. A budget Android phone can take four or five times longer than a laptop to run the same JavaScript. That is why a page that feels instant on your MacBook crawls on a 12,000 rupee phone.

Lighthouse simulates this on purpose. Its mobile test throttles the network to slow 4G speeds and slows the CPU by a factor of four, imitating a Moto G Power class device. People often panic when the mobile score is 40 points lower than desktop. Do not. That is the test working as designed.

The lesson is simple. Always judge speed on mobile first. If your analytics show 70% of visits from phones, which is common in India, then the mobile numbers are your real numbers, and desktop is the bonus.

Fixing Layout Shifts That Annoy Mobile Visitors

Layout shift is worse on small screens, because there is less room and every jump pushes content far. The fixes are mostly about reserving space. Give every image and video a width and height attribute so the browser knows how much room to hold before the file arrives.

Ads, cookie banners and email pop-ups are the other big cause. If a banner slides in and shoves the content down, that counts. Reserve a fixed-height box for ad slots, and load banners as overlays that sit on top of the content instead of pushing it.

Fonts cause a quieter version of the same problem. When a fallback font swaps to your custom font and the text reflows, lines move. Pick a fallback with similar sizing, and use the size-adjust property in CSS to match them. Check the Layout Shift section in Chrome DevTools Performance panel to see exactly which element moved.

Improving INP and Tap Responsiveness

INP gets worse when JavaScript hogs the main thread, which is the single lane the browser uses to run scripts and respond to taps. If a 400 ms script is running when someone taps Add to Cart, the tap waits in line. The visitor sees nothing happen and taps again.

To find the cause, record a Performance trace in Chrome DevTools while you interact with the page, then look for long tasks, shown with red corners, over 50 ms. Click one and see which script owns it. Very often it is a tag manager, a slider library or an analytics tool.

The usual fixes: remove or delay the heavy script, replace big libraries with lighter ones, and break long tasks into smaller chunks. If you use jQuery sliders and animations everywhere, swapping them for plain CSS can be the biggest INP gain available.

Testing on Real Phones, Not Just Simulators

Desktop Chrome with device mode is a useful approximation, but it is still your laptop pretending. If you can, borrow a cheap Android phone, something around 8,000 to 15,000 rupees, and load your own site on mobile data. The result is often humbling.

Chrome lets you plug the phone into your computer by USB and inspect it remotely via chrome://inspect, so you can run Lighthouse or record traces on the real device. For a faster check, WebPageTest offers real Moto G devices in several locations.

Watch for things a score does not show. Does the menu open smoothly? Does the page freeze when scrolling? Does a form field jump when you tap it? Those small frustrations never appear in a single number, but your visitors feel every one of them.

A Step-by-Step Page Speed Optimisation Walkthrough With Realistic Numbers

Theory only goes so far, so here is a worked example. The figures below are illustrative, built from the kind of results these fixes typically give on a mid-sized store, not from one named client. The order of the steps is the real lesson.

The Starting Point: A Slow D2C Store

Picture a skincare brand on WordPress and WooCommerce, with about 40,000 monthly visits, most from phones. Mobile PageSpeed Insights score: 38. LCP: 5.6 seconds. INP: 410 ms. CLS: 0.27. TTFB: 1.4 seconds. Total page weight: 6.2 MB. The owner’s complaint: ads are getting clicks but nobody buys.

The homepage had a 2.4 MB PNG hero banner, 38 plugins, three font families in seven weights, Meta Pixel, Hotjar, a chat widget, a review app and a popup tool, all loading on first paint. Shared hosting, no caching, no CDN. Classic.

Before touching anything, the team logged these numbers in a spreadsheet and set a target: LCP under 2.5 seconds and a mobile score above 75 within two weeks.

The Fixes, in the Order That Paid Off

First, the hero banner. Resized to 1200 pixels wide, converted to WebP, set to fetchpriority high. Size went from 2.4 MB to 110 KB. LCP dropped from 5.6 to 3.9 seconds on that alone. Second, hosting moved to a LiteSpeed managed plan with a Mumbai data centre, plus LiteSpeed Cache. TTFB fell from 1.4 seconds to 280 ms.

Third, scripts. Hotjar and the popup tool were deleted, the chat widget was delayed until first scroll, and Meta Pixel moved to fire on Window Loaded. Fonts were cut to one family in two weights, self-hosted as WOFF2. Fourth, 17 unused plugins were removed and the database cleaned.

Last, Cloudflare went in front with Brotli and caching, and image dimensions were added to fix layout shift on product grids. One change at a time, test after each, log everything. Boring. Effective.

The Results and What They Teach

After two weeks the numbers read: mobile score 82, LCP 2.1 seconds, INP 170 ms, CLS 0.04, TTFB 280 ms, page weight 1.4 MB. Field data in Search Console took about a month to catch up, because CrUX is a 28-day rolling average. That delay confuses people into thinking nothing worked.

The business result, again as an illustration of what is typical, was a conversion rate rising from 1.1% to 1.4% on mobile, with bounce rate falling. Same ad budget, more orders. You can read how real growth projects are structured in the case studies section of the Learn hub.

What stands out is where the gains came from. Two items, the hero image and the hosting, delivered most of the improvement. The sexy stuff like critical CSS and fancy preloading barely mattered. Go after the biggest problems first.

Mistakes and Myths That Waste Your Time

Speed advice online is full of old tips, half-truths and plugin sales pitches. This section calls out the mistakes that burn the most hours, and the myths that keep people stuck chasing the wrong fix.

Chasing a Perfect 100 Score

A perfect Lighthouse score feels great and is mostly pointless. The score is a weighted blend of lab metrics from one simulated test, and it swings by several points between runs. Spending three weeks to move from 91 to 100 rarely changes what visitors experience.

Worse, getting to 100 sometimes means stripping out things your business needs, like analytics, a chat tool or a decent hero image. A site that scores 100 and converts badly is a worse site than one that scores 88 and sells.

Set targets on Core Web Vitals instead, measured on real users. If Search Console shows your URLs as Good, you are done with the big stuff. Put the saved time into content and offers.

Stacking Optimisation Plugins on Top of Each Other

A common pattern: install WP Rocket, then Autoptimize, then a lazy load plugin, then an image optimiser that also lazy loads, then a minify plugin. Now two tools are minifying the same files and a third is deferring scripts the first already deferred. The site breaks, so someone adds another plugin to fix it.

Pick one caching plugin and let it handle caching, minification and lazy loading. Add one image plugin. That is about it. Each tool should have a clear job with no overlap.

After each change, clear all caches, test in a private window and check the key pages. If something breaks, switch off the last setting you changed, not everything at once. Keeping a change log pays off right here.

Believing Speed Alone Will Fix Your Rankings

Speed is a real ranking factor, but a light one. Google has said for years that relevance and content quality come first, and speed mostly acts as a tiebreaker between pages of similar quality. A fast page with thin content will not outrank a slower page that answers the question properly.

The bigger gain from speed usually shows up in behaviour: lower bounce, more pages per visit, higher conversion. Those effects are real even if rankings barely move. Treat speed as a user experience investment first and an SEO bonus second.

If you want to see where speed sits among everything else that influences rankings, the SEO guides in the Learn hub cover technical SEO, content and links as a full picture.

Testing Only Once, on Desktop, on Fast Wifi

Single tests lie. Results swing with server load, network noise and what happened to be cached. A fix that looked brilliant in one run might be nothing but luck. Test three times and take the median, every time.

Testing only on desktop hides the problem for most of your audience. Switch the tool to mobile by default. And test from a location near your actual visitors, because a test run from Virginia says little about a user in Bhubaneswar or Pune.

Also test logged-out and in a private window. Your own browser has cached files, cookies and extensions that make your site look faster than it is for a first-time visitor. First visits are what you are optimising.

Page Speed Optimisation Checklist and Ongoing Monitoring

Speed is not a one-time project. Sites slow down again as new plugins, banners and scripts get added. This section gives you a ready checklist, a performance budget idea, and a simple monitoring routine so you catch problems early.

The Page Speed Optimisation Checklist

Here is the order to work in. It follows biggest impact first, so stop when your Core Web Vitals turn green.

  1. Test your top three pages on mobile and record LCP, INP, CLS, TTFB and page weight.
  2. Compress, resize and convert images to WebP or AVIF, and add width and height attributes.
  3. Set fetchpriority high on the hero image and never lazy-load it.
  4. Check TTFB, and upgrade hosting or add page caching if it is above 800 ms.
  5. Put the site behind a CDN such as Cloudflare and switch on Brotli.
  6. Remove or delay unused third-party scripts, chat widgets and tracking tags.
  7. Minify CSS and JavaScript, defer non-critical scripts and inline critical CSS.
  8. Self-host fonts as WOFF2, limit weights to two and use font-display swap.
  9. Remove unused plugins, clean the database and set browser cache headers.
  10. Retest after each change and update your log.

Setting a Performance Budget

A performance budget is a limit you set for your pages and agree to stay under. For example: total page weight under 1.5 MB, hero image under 150 KB, no more than 15 requests above the fold, and LCP under 2.5 seconds on mobile.

It works because it turns speed into a rule rather than a one-off clean-up. When someone wants to add a new popup tool or a video background, the question becomes: does it fit inside the budget? If not, something else has to go.

Write the budget down and share it with whoever edits the site, whether that is a designer, a developer or a marketing intern. Most speed damage comes from small additions nobody thought about. A shared budget stops that quietly.

Monitoring Speed Over Time

Open Google Search Console and go to the Core Web Vitals report under Experience. It groups your URLs into Good, Needs Improvement and Poor for mobile and desktop, using real-user data. Check it monthly, and whenever you release a big change. This is the report that tells you the truth.

For spot checks, PageSpeed Insights on your top pages every few weeks is enough. If you want alerts, tools like Uptime Robot (for uptime and response time), GTmetrix monitoring or the free Cloudflare analytics can warn you when something drops.

After plugin updates, theme changes or marketing campaigns that add new tags, retest the same set of pages. A five-minute check after each change is far cheaper than discovering a month later that mobile LCP slid from 2.2 to 4.1 seconds.

Conclusion

Page Speed Optimisation comes down to a handful of habits: measure on real mobile conditions, fix the heaviest problems first, keep third-party scripts on a short leash, and test after every change. Most of the gain comes from images, hosting and scripts, not from clever tricks.

Here is your next step. Open PageSpeed Insights right now, test your homepage on mobile, and write down LCP, INP, CLS and TTFB. Then fix the single biggest item on that list this week, retest, and note the difference. One fix, measured, beats ten guesses.

Frequently Asked Questions

These are the questions people ask most often when they start working on site speed. Each answer stands on its own, so you can jump straight to the one you need.

What is Page Speed Optimisation?

Page Speed Optimisation is the process of making a web page load and respond faster for visitors. It covers compressing images, cleaning up code, improving hosting and server response, using caching and a CDN, and controlling third-party scripts. The goal is a better experience on real devices, not just a higher test score.

What is a good page load time for a website?

Aim for the main content to appear in under 2.5 seconds on mobile, which is the Google threshold for a good Largest Contentful Paint. Many fast sites show useful content within 1 to 2 seconds. Anything above 4 seconds on mobile starts losing a large share of visitors.

How do I check my website speed for free?

Use Google PageSpeed Insights at pagespeed.web.dev for an overview of lab and real-user data. WebPageTest gives a detailed waterfall of every file, and GTmetrix offers easy reports. Chrome DevTools also has Lighthouse built in. Test on mobile, run it three times and use the median result.

What are Core Web Vitals?

Core Web Vitals are three metrics Google uses to measure real user experience. Largest Contentful Paint measures loading, with a target under 2.5 seconds. Interaction to Next Paint measures responsiveness, with a target under 200 milliseconds. Cumulative Layout Shift measures visual stability, with a target under 0.1.

Does page speed affect SEO rankings?

Yes, but modestly. Google uses page experience signals including Core Web Vitals as ranking inputs, though content relevance matters far more. Speed often acts as a tiebreaker between similar pages. The stronger benefit is behavioural, because faster pages tend to have lower bounce rates and higher conversion rates.

Why is my website slow on mobile but fast on desktop?

Phones have weaker processors and slower, less stable networks. Lighthouse also deliberately throttles mobile tests to simulate a mid-range phone on slow 4G. Heavy JavaScript, oversized images and third-party scripts hurt far more on mobile, so a site can feel instant on a laptop and still struggle on a budget phone.

What is the biggest cause of a slow website?

Oversized images are the most common cause, followed by slow hosting, too many third-party scripts and unused plugins or code. On most pages, images make up more than half the total weight. Fixing images and server response time usually delivers most of the improvement.

How can I make my WordPress site load faster?

Start with good hosting and a caching plugin such as WP Rocket or LiteSpeed Cache. Compress and convert images to WebP, remove unused plugins, limit third-party scripts and put Cloudflare in front of the site. Use Query Monitor to spot slow plugins, and clean the database with WP-Optimize after taking a backup.

Is lazy loading good for page speed?

Yes, for images below the fold, because it delays downloads until the visitor scrolls near them. It backfires on the main hero image, which is usually the LCP element and should load immediately with fetchpriority set to high. Always include width and height so layout does not shift.

What is TTFB and how do I improve it?

Time to First Byte is the delay between the browser requesting a page and receiving the first byte of the reply. A good target is under 800 milliseconds. Improve it with better hosting, page caching, a CDN, a current PHP version, object caching and a server location near your visitors.

Do I need a CDN for my website?

It helps most sites, especially if visitors are spread across regions. A CDN serves static files from a server near each visitor and often reduces load on your main server. Cloudflare’s free plan is enough for many small sites. A site with visitors in only one city may see a smaller gain.

How often should I test my website speed?

Check Search Console’s Core Web Vitals report monthly and retest key pages with PageSpeed Insights every few weeks. Also test straight after plugin updates, theme changes or new tracking scripts. Small additions often cause speed drops that nobody notices until traffic or sales dip.

How long does it take to see speed improvements in Google Search Console?

Lab tests change immediately, but Search Console uses Chrome User Experience Report data, which is a rolling 28-day average. After a fix, expect around four weeks before the Core Web Vitals report fully reflects it. Keep a change log so you can connect the improvement to the right fix.

Boost Your SEO
Download Our Free SEO Checklist
25 actionable steps to improve rankings and drive more traffic
Table of Contents
Boost Your SEO
Download Our Free SEO Checklist
25 actionable steps to improve rankings and drive more traffic