Back to blog
Eddie Vo Company

How to Improve Core Web Vitals on a Small Business Website

Learn how to measure Core Web Vitals, identify what slows down your website, and test targeted fixes for loading, responsiveness, and layout shifts.

  • Core Web Vitals
  • LCP
  • INP
  • CLS
  • Web Performance
  • SEO
Business owner working on website performance

Start with the page where a slow or unstable experience matters most: your booking page, a product page, or the homepage visitors use to find your hours. Core Web Vitals tell you whether to investigate slow loading, delayed interaction, or content shifting under a visitor’s finger. Reproduce one problem, test a targeted change, and compare the results before rolling it out.

Understand what the measurements can tell you

To improve Core Web Vitals, business owners need to understand what these metrics measure and why they matter. Largest Contentful Paint (LCP) measures how quickly the main content of your page loads. For example, if your homepage takes too long to display the main image or text, users may leave. A good LCP score means the main content loads within the first 2.5 seconds.

Digital dashboard with three gauges labeled LCP, INP, and CLS, each showing a specific value with color-coded backgrounds from red to green.

Interaction to Next Paint (INP) measures how responsive your site is when users interact with it. For instance, if a user clicks a button and the site takes too long to respond, they might become frustrated. A good INP score means the site responds within 200 milliseconds.

Cumulative Layout Shift (CLS) measures visual stability, ensuring that elements don't jump around as the page loads. For example, if text or images suddenly shift, it can be disorienting for users. A good CLS score means the layout remains stable, with a score of 0.1 or less.

These metrics do not prove that your site will rank higher in search results, but they do indicate a better user experience, which can indirectly influence search rankings. By focusing on these metrics, you can enhance your site’s performance and user satisfaction. They help identify areas where your site may be underperforming and provide actionable steps to improve.

Establish a baseline before making changes

  1. Collect Initial Data:
    • Lab Data: Use tools like PageSpeed Insights or Lighthouse to simulate page load conditions and get lab data. This data is useful for debugging but may not reflect real-world conditions.
    • Field Data: Use the Chrome User Experience Report (CrUX) to get real-user performance data. This data provides insights into how your site performs in the real world.

Scientist in a lab coat standing in front of a large screen displaying graphs and charts divided into 'Lab Data' and 'Field Data' sections.

  1. Record Metrics:

    • Largest Contentful Paint (LCP): Record the time it takes for the main content to load.
    • Interaction to Next Paint (INP): Record the time it takes for the site to respond to user interactions.
    • Cumulative Layout Shift (CLS): Record the score that indicates visual stability.
  2. Compare and Hold Constant:

    • Record lab and field results separately. PageSpeed Insights can show both. Its lab run is a controlled snapshot, while field data summarizes eligible real visits over the previous 28 days.
    • Ensure that the testing conditions (device, network) are consistent when collecting lab data.
    • Label any origin-level fallback as sitewide. It cannot establish how an individual page performed.
  3. Handle Unavailable Data:

    • If a page lacks sufficient real-user data, rely on origin-level data to get a broader picture.
    • Use lab data to identify potential issues and validate improvements.

Test the cause instead of guessing

To improve Core Web Vitals, it's crucial to diagnose the root causes of poor performance rather than guessing. Here’s a diagnostic decision tree to help you identify and address issues:

Computer screen with a split-screen view showing a slow loading website on the left and a developer's console with highlighted code and a loading timeline on the right.

  1. Observation: Identify a poor LCP score.

    • Possible Causes: Large image sizes, slow server response times, or lack of browser caching.
    • Test: Use PageSpeed Insights or Lighthouse to simulate page load conditions and check server response times and image sizes.
    • Next Action: If the document response arrives slowly, ask your host or developer to investigate that delay first. If the main image takes a long time to download, compare a correctly sized, compressed version. Load the above-the-fold main image eagerly.
  2. Observation: Identify a high INP score.

    • Possible Causes: Heavy JavaScript execution or inefficient third-party scripts.
    • Test: Use the Chrome DevTools Performance tab to analyze JavaScript execution and identify bottlenecks.
    • Next Action: Record a specific slow action, such as opening the mobile menu. If a long script task overlaps the click, try the same interaction on staging with the suspected feature disabled. Compare the trace and verify the menu still works.
  3. Observation: Identify a poor CLS score.

    • Possible Causes: Unpredictable image sizes or dynamic content placement.
    • Test: Record a reload in the Chrome DevTools Performance panel and inspect the layout shifts in the recording.
    • Next Action: If the page has no room reserved for an image, set its dimensions or aspect ratio. If an injected banner moves the page, reserve space before it appears and check how that space looks on a phone.

Make one targeted change and verify it

To improve Core Web Vitals, business owners can focus on specific metrics and verify the impact of their changes. Here’s a step-by-step guide:

  1. Choose a Targeted Change:

    • Identify a specific issue from your baseline metrics. For example, if your Largest Contentful Paint (LCP) score is poor, consider optimizing image sizes or server response times.
    • If Interaction to Next Paint (INP) is high, focus on optimizing JavaScript execution or deferring non-critical scripts.
    • If Cumulative Layout Shift (CLS) is poor, address unpredictable image sizes or dynamic content placement.
  2. Implement and Protect Functionality:

    • Make the change in a controlled environment, such as a staging site, to ensure it does not break any existing functionality.
    • Thoroughly test the change to ensure it does not negatively impact user experience or site performance.
  3. Verify the Change:

    • Use tools like PageSpeed Insights or Lighthouse to simulate page load conditions and compare lab data before and after the change.
    • Monitor real-user data through the Chrome User Experience Report (CrUX) to ensure the change has a positive impact in the real world.
    • Compare equivalent test conditions to ensure the change is accurately measured.
  4. Monitor and Decide on Next Steps:

    • Continuously monitor both lab and field data to ensure the change has the desired effect.
    • If the change improves the metrics, continue monitoring to ensure stability.
    • If the change does not improve metrics or introduces new issues, roll back the change and consider alternative solutions.

Worked example: a hypothetical small business website

A bakery uses a large bread photo above the opening hours on its homepage. The owner sees slow mobile loading and suspects the photo. Before replacing it, the developer records a mobile reload and checks when the document arrives, when the photo request starts, and how long the transfer takes.

If the document arrives late and the photo starts downloading promptly after that, the owner can ask the hosting provider to investigate the initial wait. If the document arrives quickly and the photo starts downloading promptly but transfers slowly, the developer can try a smaller, correctly sized image. If the photo request starts late despite a quick document response, the developer can trace how the browser discovers the image before compressing it further.

On staging, the owner tries one change, repeats the test under comparable conditions, and checks that the photograph still looks sharp and the hours remain easy to find. If the lab improvement holds, they can roll it out and watch field data as more eligible visits enter the reporting window. If the lab result barely moves, they can revisit the trace to test the next likely cause.

Tradeoffs and limits to keep in mind

When optimizing Core Web Vitals, it's important to recognize that certain improvements can have unintended consequences. For example, while compressing images can improve Largest Contentful Paint (LCP), over-compression can degrade image quality, negatively impacting user experience. Similarly, deferring non-critical JavaScript can improve interactivity, but if critical scripts are also deferred, it can lead to broken functionality or a poor user experience.

Additionally, tools like PageSpeed Insights and Lighthouse provide valuable lab data, but they may not fully reflect real-world user experiences. Real-world data from the Chrome User Experience Report (CrUX) can offer a more accurate picture but may lack the detailed diagnostics needed to pinpoint specific issues.

When to Involve a Specialist

If you find that your efforts to improve Core Web Vitals are not yielding the expected results, or if you encounter complex issues that affect site functionality, it may be time to involve a web performance specialist. They can provide deeper insights and more sophisticated solutions to ensure that your site remains both functional and performant. This is particularly important if you are dealing with complex web applications or if you have limited technical resources to dedicate to performance optimization.

Common mistakes and how to avoid them

  1. Over-optimizing Images: Reducing image sizes can improve Largest Contentful Paint (LCP) scores, but over-compressing images can degrade their quality, leading to a poor user experience. Practical alternative: Use a balanced approach by compressing images to an optimal size that maintains quality while improving load times.

Person sitting at a desk with a computer screen showing a warning sign and a list of common mistakes, with navy teal background and amber highlights.

  1. Deferring Critical Scripts: Deferring non-critical JavaScript can improve interactivity, but deferring critical scripts can break functionality and negatively impact user experience. Practical alternative: Identify and defer only non-critical scripts, ensuring that critical scripts load quickly to maintain site functionality.

  2. Ignoring Real-World Data: Relying solely on lab data from tools like PageSpeed Insights or Lighthouse can lead to misinformed decisions, as lab data may not reflect real-world user experiences. Practical alternative: Continuously monitor real-world data from the Chrome User Experience Report (CrUX) to ensure that changes have a positive impact in the real world.

  3. Not Testing Changes Thoroughly: Implementing changes without thorough testing can introduce new issues or negate improvements. Practical alternative: Test changes in a staging environment before deploying them to production, and monitor both lab and field data to ensure the changes have the desired effect.

Your next steps

  1. Monitor Metrics: Continuously monitor both lab and field data to ensure the changes have the desired effect. Use tools like PageSpeed Insights and the Chrome User Experience Report (CrUX) to track improvements. Ensure you are using consistent testing conditions to accurately measure changes.

Roadmap with stages labeled 'Monitor Metrics', 'Evaluate Impact', and 'Consult Experts', each with corresponding icons and framed by a navy teal border with amber highlights.

  1. Evaluate Impact: If the change improves the metrics, continue monitoring to ensure stability. If the change does not improve metrics or introduces new issues, roll back the change and consider alternative solutions, such as further optimizing JavaScript execution or deferring non-critical scripts.

  2. Consult Experts: If you encounter complex issues or find that your efforts are not yielding the expected results, consider involving a web performance specialist. They can provide deeper insights and more sophisticated solutions to ensure your site remains both functional and performant.

For additional support or to discuss your specific needs, contact us to speak with one of our experts.

Source: How business owners can improve Core Web Vitals

Supporting official documentation

Supporting official documentation