How to Improve Website Speed & Performance: A Practical Guide

Published:

Your page appears, but the main image is still missing. You tap the menu and wait. Then a banner loads and moves the link you were about to press.

Those delays make browsing frustrating, but it can be hard to tell which part of the site needs attention. You can spend hours changing settings without knowing whether visitors will notice a difference.

This guide connects those symptoms to practical changes on your existing site, with before-and-after checks to show whether pages load faster, controls respond sooner, and content stays in place.

Measure Your Website’s Current Performance

Test Important Pages and Visitor Actions

Start with pages people use to find you and decide whether to subscribe or buy:

  • A popular article or other entry page.
  • A product or service page.
  • The steps needed to subscribe, enquire, or buy.

The running example is a sewing tutorial blog selling a downloadable beginner tote-bag pattern. Follow the journey from tutorial to pattern page, checkout, and download. All measurements and results are illustrative.

Test public pages on mobile and desktop with PageSpeed Insights, Google’s speed-testing tool. Its simulated page load is a lab test. For checkout, accounts, and other personalized pages, use Chrome DevTools, the browser’s built-in inspection tools.

I would run each lab test three times and record the middle result—the median—for each metric. Keep mobile and desktop results separate. Save the reports with the URL, test date, device, network, and cache settings.

Then use an actual phone. Test the menu, scrolling, search, forms, and a purchase using your platform’s supported test-payment method. Note delayed responses, moving content, missing images, or broken controls.

Read the Metrics That Guide Your Fixes

Google’s Core Web Vitals cover loading, responsiveness, and visual stability.

MetricMeaningGood Target
Largest Contentful Paint (LCP)When the largest visible image or text block appears2.5 seconds or less
Interaction to Next Paint (INP)How quickly the page shows a response to clicks, taps, and keyboard interactions200 milliseconds or less
Cumulative Layout Shift (CLS)How much visible content moves unexpectedly0.1 or less

Field data comes from actual visits. Assess Google’s Core Web Vitals thresholds at the 75th percentile, separately for mobile and desktop: at least 75% of recorded visits should meet each target. For INP, only visits with a click, tap, or keypress count.

Read The Metrics That Guide Your Fixes: Website Core Web Vitals: What Good Looks Like; Lcp: Main Content Appears; ≤ 2.5 Seconds; Inp: Interaction Response; ≤ 200 Milliseconds; Cls: Unexpected Movement; ≤ 0.1; Field Targets: 75Th Percentile; Assess

PageSpeed Insights reports field data for the previous 28 days, updated daily. Check whether it covers your URL or the whole origin—the pages under that site address. Origin-wide figures can hide a slow page type. If neither has enough visitor data, use lab tests and manual checks.

Also watch Time to First Byte (TTFB): the wait for the response’s first byte. Redirects, connection setup, network distance, and server processing can all add delay, so a slow TTFB alone does not justify buying faster hosting.

Read The Metrics That Guide Your Fixes: Website Speed Tests: Field Data Vs Lab Data; Field: Actual Visits; Previous 28 Days; Updated Daily; At Least 75% Meet Each Target; Lab: Simulated Page Load; Diagnose And Repeat; Check Url Or Whole-Origin

Keep a simple baseline sheet. Here is the first entry for the example site:

PageDeviceMetricInitial ResultSuspected BottleneckChangeRetest Result
Tote-bag patternMobile lab profileMedian LCP4.0 secondsMain preview starts downloading promptly but transfers 800 KBNone yetNot retested

Add separate rows for other metrics and pages that need attention. Keep the underlying reports beside the sheet so you can revisit the evidence.

Choose the Bottleneck to Fix First

If you’re deciding how to improve website performance with limited time, choose the next change from the evidence.

The browser starts with HTML, the page’s basic document. It uses that document to find images, CSS files that control appearance, and JavaScript that runs features such as menus. Downloads and code can delay both the first view and later taps.

Use that sequence to narrow the problem:

SymptomEvidence to InspectMatching Fix
Long wait before anything arrivesInitial document timing and whether its response came from cacheReview caching and server processing
Main image starts loading lateIts request start time and priorityMake the image discoverable earlier
Large downloadsTransferred bytes for images, video, CSS, and scriptsResize media and remove unnecessary assets
Files arrive but content appears lateBlocking styles, scripts, fonts, and browser workReduce rendering delays
Controls respond slowlyA recording of the action and long-running browser tasksRemove or shorten the responsible work
Content jumpsLayout-shift recordings and late additionsReserve space and correct sizing
Choose The Bottleneck To Fix First: Website Speed Problems: Find The Matching Evidence; Nothing Arrives; Inspect Document Timing + Cache; Main Image Starts Late; Inspect Discovery + Priority; Downloads Are Large; Inspect Transferred Bytes; Content

Find the LCP element in the performance report. If it is an image, inspect its request in the network waterfall—the timeline showing when files are requested and downloaded.

Separate four parts of the wait:

  1. Receiving the first HTML byte.
  2. Waiting to request the image.
  3. Downloading the image.
  4. Waiting to display it.

This distinction matters. Compressing an image may save bytes without fixing the script that keeps it hidden. Google’s LCP breakdown explains these separate delays.

Choose The Bottleneck To Fix First: Website Lcp: Four Different Places Time Can Be Lost; 1. First Html Byte; Check Response Delays; 2. Image Request Begins; Check Discovery + Priority; 3. Image Downloads; Check Bytes + Delivery; 4. Image Becomes

For the pattern page, suppose the preview request begins promptly but the file is large. Reducing that download is a sensible first experiment. If the request begins late instead, investigate image discovery before spending an afternoon compressing the library.

Prioritize changes by visitor impact, the number of affected pages, effort, and risk. I would fix a sluggish shared menu before polishing an animation on a rarely visited page.

Before changing settings, save the current configuration and create a recoverable backup. Use staging—a separate test copy—for shared templates, code, and caching changes. Change one related group of settings at a time.

When you need help, send your host or developer the URL, reproduction steps, and report. “The menu freezes when tapped during loading” gives them a better starting point than “the site feels slow.”

Reduce Server and Delivery Delays

Cache Reusable Content Safely

Caching lets the site reuse work or files instead of starting again for every request.

The main layers do different jobs:

  • Browser Cache: Reuses downloaded files on the visitor’s device.
  • Page Cache: Reuses generated HTML instead of rebuilding the page for each request.
  • CDN Cache: Uses a content delivery network (CDN) to serve reusable files or pages from servers closer to visitors.

Review what your platform, host, and plugins already provide before adding another tool. I use WP Rocket for WordPress caching and Cloudflare as a CDN, but your existing tools may already cover those jobs.

Cache Reusable Content Safely: Website Caching: Reuse Files Without Sharing Private Pages; Browser Cache; Reuse Files On This Device; Page Cache; Reuse Generated Html; Cdn Cache; Serve Reusable Content Nearby; Reusable Files Can Be Shared; Keep

Enable appropriate caching for public pages. For static files with versioned URLs that change whenever their contents change, long browser-cache lifetimes can allow reuse without trapping visitors on an old version.

Keep personalized cart, checkout, and account HTML out of shared page caches. Their reusable images and styles can still be cached. The distinction is between shared files and content belonging to a particular visitor. MDN explains private and shared caches.

Check that caching actually works. Inspect repeat requests in DevTools or ask your host to confirm cache hits. Then publish a small update and verify that affected pages refresh.

For the sewing site, test two separate browser sessions and confirm that each keeps its own cart.

Fix Slow Origin Responses and Inefficient Delivery

Your origin is the server that generates or supplies the original response.

Compare a cached public page with a page that requires fresh server processing. If uncached responses remain slow, ask your host or developer to inspect:

  • Hosting resource limits.
  • Slow database queries.
  • Plugins or application code doing unnecessary work.
  • External services the page waits for before responding.

A CDN can help when distance from the origin adds delay. Confirm which resources it actually caches, and test from locations relevant to your visitors. Having a CDN account does not establish that your HTML is being served from its cache.

Fix Slow Origin Responses And Inefficient Delivery: Slow Website Response: Check Origin, Distance And Compression; 1. Compare Cached And Fresh Responses; 2. Trace Persistent Origin Delays; Capacity • Queries • Code • Services; 3. Verify Cdn

Also check text compression through your existing host or CDN. Brotli or gzip can reduce transfers for HTML, CSS, JavaScript, and SVG. In DevTools, inspect a text response for a Content-Encoding header such as br or gzip. Google’s delivery guidance covers compression and CDNs.

I would consider a hosting upgrade when measurements show capacity limits or persistent origin delays. On a hosted platform, give support the evidence first. A larger bill is a poor diagnostic tool.

If the evidence points to an upgrade, check what your budget can cover before comparing plans. Affordability does not establish whether a host will fix the delay.

Lead Magnet Cover
FREE CALCULATOR

Free Software Cost Calculator

Use our free calculator to work out what to budget for keeping, buying, or switching software or hosting.
Send My Free Calculator ❯
Instantly delivered to your inbox
Customer Avatar 1
Customer Avatar 2
Customer Avatar 3
Customer Avatar 4
Rated highly by 4,500+ users

Make Images and Video Load Efficiently

Start with the largest media transfers on important pages. Check whether the main image is also the LCP element.

Resize images for their displayed use and compress them while checking quality. Provide responsive versions so the browser can choose a suitable file for the viewport and screen density. Your platform may already generate these versions, so inspect what the page actually downloads.

Compare WebP or AVIF with the existing format. Check fine detail, text, and transparency before keeping the smaller export. Google’s image-performance guidance explains sizing and format choices.

For the tote-bag preview, the process would be:

  1. Check how wide the image appears on mobile and desktop.
  2. Export suitable sizes and compare formats.
  3. Inspect stitching detail and any labels at their intended display size.
  4. Replace the preview and confirm that the page requests the new file.
  5. Repeat the baseline tests.
Make Images And Video Load Efficiently: Website Image Optimization: Fewer Bytes, Then Measure Speed; 800 Kb; Size For Display; Compare Formats; Check Detail; 160 Kb; 640 Kb Saved; 80% Fewer Image Bytes; Not An 80% Page-Speed Improvement

Suppose the downloaded preview falls from 800 KB to 160 KB. You have removed 640 KB, or 80% of that image’s bytes. That is an image saving, not an 80% improvement in page speed.

Loading order matters too. Lazy loading delays an image’s download until it is near the visible part of the page. Exclude the LCP image from lazy loading and keep it discoverable in the initial HTML. Where your platform supports it, use fetchpriority="high" for that image. If a critical background image is discovered late, a developer can preload it. Avoid giving every image high priority; the hint needs to identify what matters. Google explains how to reduce LCP image-loading delays.

Lazy-load images below the initial viewport, then scroll through the page and confirm they appear promptly.

For optional video, I would use a lightweight poster image and a play control. A tutorial does not need to download an entire player before someone decides to watch.

For native video that starts on request, use preload="none" and inspect the actual downloads because this is a browser hint. For third-party players, use a preview that loads the embed after a click. Google’s video guidance covers both approaches.

Remove Delays Before Content Appears

Reduce Unnecessary CSS and JavaScript

List the widgets, trackers, embeds, apps, and plugins on the affected pages. For each one, ask what useful job it performs.

Remove unused features and duplicate integrations first. Where supported, load feature-specific files only on pages that need them. A preview viewer on the pattern page does not automatically belong on every sewing tutorial.

Reduce Unnecessary Css And Javascript: Website Css And Javascript: Remove Work Before Shrinking Files; 1. Remove Unused Features; 2. Load Files Where Needed; Preview Code Belongs On Preview Pages; 3. Minify Remaining Files; Smaller Download ≠ Less

I once enabled several script optimizations together on a digital-product site. The pages looked fine, but a form stopped showing its validation message. I reversed the changes and tested the settings separately until I found the one affecting the form. That experience is why I check a working journey after each group of changes. Looking at the homepage would have told me everything was wonderful.

Use supported controls to defer compatible, nonessential scripts. For custom classic external scripts, defer preserves their document order and runs them after HTML parsing. async suits independent scripts that can run out of order.

Reduce Unnecessary Css And Javascript: Website Scripts: When To Use Defer Or Async; Blocking Script; Parsing Pauses For The Script; Defer; Run After Html Parsing; Preserve Document Order; Async; Run When Ready; Order Not Guaranteed; Classic External

Remove unused styles and unnecessary design components too. Minification removes unnecessary characters, such as spaces and comments, to make CSS and JavaScript smaller. It reduces download size without removing the work those features do in the browser. Google’s resource-loading guidance explains these distinctions.

If blocking CSS remains a measured problem, ask a developer about targeted work, such as separating the styles needed for the initial view.

After changing asset loading, check shared layouts, navigation, forms, and payment controls. Keep a change only when the intended improvement survives those checks.

Keep Text Readable While Fonts Load

I would start by removing unused font families and weights. A system font is also a reasonable choice when a downloaded font adds little to the design.

For web fonts you retain:

  • Use WOFF2 files.
  • Preload only a font whose late discovery delays important text.
  • Use font-display: swap to show fallback text while the font downloads.
  • Match the fallback’s size and spacing to reduce movement when the font changes.
Keep Text Readable While Fonts Load: Website Font Loading: Keep Text Visible And Buttons Stable; Show Fallback Text Immediately; Font-Display: Swap; Beginner Tote Pattern; Buy Pattern; Poorly Matched Fonts Move Content; Match Fallback Size And

Showing fallback text solves one problem, but a badly matched replacement can introduce another. Google’s font guidance explains loading and swapping behavior.

On the pattern page, watch the description, price, and purchase button during loading. They should remain readable, and the final font should not push the button somewhere else.

Make Interactions and Scrolling Responsive

A page can finish downloading and still struggle when someone uses it.

Open Chrome DevTools’ Performance panel, start a recording, reproduce one slow action, and stop. Test the action during loading and again after the page settles.

Make Interactions And Scrolling Responsive: Why Website Buttons Wait Behind Long Browser Tasks; Tap; Long Task; Delayed Response; Shorter Work; Opportunity To Respond; Continue Remaining Work; Check Scrolling Separately; Repeat The Same Action After

For the sewing site, check the menu, search, preview viewer, and purchase controls. Write down the exact action so you can repeat it after the fix.

Lighthouse, which runs PageSpeed Insights’ lab tests, reports Total Blocking Time (TBT) to flag browser work that blocks responses during loading. TBT does not measure field INP, so a better result still needs checks of actual interactions.

Use the recording to trace long-running work to a script or component. Remove unnecessary processing or simplify a heavy widget. If essential code causes the delay, ask a developer to shorten or split the work so the browser can respond between tasks. Google’s INP guidance describes this diagnosis and optimization process.

For example, if the pattern preview viewer causes the measured delay, try a simpler gallery and repeat the same action.

Check scrolling separately. Disable an optional decorative effect, repeat the scroll, and compare. I would keep an effect only if it adds enough value to justify the work it creates.

Stop Unexpected Layout Shifts

Content should have space before it arrives.

Give images and videos correct dimensions or an appropriate aspect ratio. Reserve space for ads, banners, and embeds too. Otherwise, their arrival can push surrounding content down the page.

Stop Unexpected Layout Shifts: Stop Website Layout Shifts By Reserving Media Space; No Reserved Space; Image Arrives → Button Moves; Space Reserved First; Image Arrives → Button Stays; Set Dimensions Or An Appropriate Aspect Ratio; Reserve Space For

Avoid inserting late content above something the visitor is already reading. When a shift occurs, use the Performance recording to find its cause. The element that moved may simply be reacting to something inserted above it.

Scroll through the full page and wait for delayed content. A test that ends soon after loading can miss shifts caused by lazy-loaded images or later additions. Google’s CLS guidance covers these causes and testing gaps.

Stop Unexpected Layout Shifts: Website Layout Shifts: Find What Pushed The Content; Late Content Is Inserted Above; The Button Moved; The Banner Caused The Movement; Scroll The Full Page; Wait For Delayed Content; Repeat At Narrow And Wide Sizes; A

On the pattern page, watch the price and purchase button while the preview, fonts, and any promotional banner load. Repeat at narrow and wide screen sizes.

I would fix a moving purchase button before spending time on a minor visual flourish. The button has an actual job.

Verify Improvements and Keep Them

Compare Equivalent Before-and-after Tests

Repeat the baseline tests using the same URLs, device profiles, network settings, and run count. Compare the median for each relevant metric.

When evaluating caching, compare first visits separately from repeat visits. A repeat visit with files already stored in the browser answers a different question from a first visit.

Compare Equivalent Before-And-After Tests: Website Lcp Improvement: Calculate The Saving Correctly; Before: 4.0 Seconds; After: 2.8 Seconds; Illustrative Median Lab Results; 4.0 − 2.8 = 1.2 Seconds Saved; 1.2 ÷ 4.0 × 100; 30% Lower Measured Lcp

Add the change, retest result, and functionality check to your sheet. For the illustrative pattern-page experiment, the completed entry might read:

PageDeviceMetricInitial ResultSuspected BottleneckChangeRetest Result
Tote-bag patternSame mobile lab profileMedian LCP4.0 secondsLarge main-preview downloadReplace 800 KB preview with a suitable 160 KB version2.8 seconds; preview and purchase journey checked successfully

LCP fell by 1.2 seconds. To express that saving as a percentage, divide it by the original 4.0-second loading time:

Compare Equivalent Before-And-After Tests: Website Speed Retesting: Make A Fair Comparison; 1. Match The Conditions; Url • Device • Network • Run Count; 2. Compare Metric Medians; Repeat The Baseline Method; 3. Separate First And Repeat Visits

(4.0 − 2.8) ÷ 4.0 × 100 = 30%

That is a 30% reduction in measured LCP, but 2.8 seconds still exceeds the 2.5-second good target. Inspect the remaining delay before choosing another change. This lab result does not establish that visitors meet the field target.

Check responsiveness and stability too, then replay the journey from tutorial to purchase using the supported test-payment method. Confirm that the download is available and check the published site after deployment. Revert changes that break functionality or worsen the experience. A higher score is useful evidence, but a broken checkout is a failed change.

Catch Future Slowdowns

Keep the baseline sheet and a short change log. Record what changed, which pages it affected, and the result.

Retest representative pages after major changes to:

  • Templates or themes.
  • Plugins, apps, or tracking.
  • Media and embedded players.
  • Checkout or other important interactions.

Set limits for image bytes, optional scripts, and loading times based on the improved pages. Measure each new widget against those limits. “It came with the theme” is not much of a business case.

Review field trends as new visits enter the 28-day reporting window. Expect that view to change gradually rather than immediately after deployment.

When manual checks no longer cover your important pages, automate recurring performance tests and alerts. I would automate the repeatable checks while keeping a manual purchase test after changes that could affect buying.

What Next?

Choose one important page and record three mobile lab runs before changing anything. Identify the delay that matters most, then make one matching change and repeat the test.

Use the social buttons to share this guide when your next website discussion needs evidence before another plugin purchase.

Which part of your site feels slowest: the initial load, a particular action, or content that keeps moving? Tell me in the comments, and include any other performance questions you want help working through.

Share this post with your friends & followers:
Abhishek is a data scientist by day & an online entrepreneur by night. He is known for his ability to simplify complex concepts and make them accessible to a wider audience. He started Passive Book to share his insights and experiences on how to effectively build an online business, which has quickly become a go-to resource for anyone looking to bootstrap an online business from scratch.

Leave a Comment

Build an Online Business 
Without Quitting Your Job

Join 10,000+ solopreneurs building six-figure online businesses from scratch with limited time & tight budgets using smart systems & AI automations.
Optin Form - Main

Free Bonus: Get access to our AI workflows & cheat sheets
Person sitting with laptop in home office environment with launching rocket, coffee mug, sleeping dog, bookshelf, and house plant illustrating work-from-home online business lifestyle. Decorative image.
Thank you for sharing

Follow Us On: