Improve Site Speed & Page Load Time with a Google Lighthouse Audit
We’ve all visited a site that takes too long to load and when that happens we navigate away to another site in the SERP. That is a bad experience for the user, and is detrimental to the overall success of the website. Not only is site speed important for the overall user experience, it has also quickly become a significant SEO ranking factor – something most SEOs have long assumed and has now been confirmed by Google.
When a page takes too long to load, it results in a higher bounce rate and lower time on page, which directly affects conversion rates. A Think with Google study found that
A 1-second delay in site speed can lead up to a 20% decrease in conversions.
While many website owners understand the importance of site speed, not everyone knows the steps to take to assess and improve your load time. One of the handiest tools available is Google Lighthouse. This tool was once used exclusively by developers, but Google has made it more accessible for the average user, making it easier than ever for the average user to identify, evaluate, and fix site speed issues.
This guide covers how to run a Google Lighthouse audit and how to use those insights to improve your site speed. Let’s get started!
How to Run a Google Lighthouse Audit
- Start by making sure you’re using Google Chrome as your browser.
- If you’re not currently using it, you’ll need to download it.
- In your Google Chrome browser, go to the URL you want to audit.
- This can be any URL on the web, but in this case, it’s a page on your business’ website.
- Next, open Chrome DevTools. Do this by right-clicking on the page and selecting “Inspect.” You can also use a keyboard shortcut to open DevTools.
- Click on the double arrows (>>) at the top of the DevTools window menu to expand it, then click on “Lighthouse.”
- Here you’ll see a list of categories you can check with your audit. Leave all the checkboxes enabled and click “Generate report. It takes about a minute to generate the Lighthouse report.
Pro tip: Keep in mind that the report generated will be only for the page you’re on. Some pages on your website, like your homepage, are more robust than others because there are more elements to load. We recommend testing a few different pages — like your homepage, an activity page, and a blog post — to get a full idea of how your website is performing overall.
Understanding the Report Metrics
Your Lighthouse report provides scores from a range of 0-100 (100 being the best score) in four different categories:
- Best Practices
The report then breaks down each category into various metrics to help you understand which elements are affecting the score and how you can improve them. The elements that affect page speed are listed in the Performance category.
What Each Metric Tells You
- First Contentful Paint (FCP): This measures how long it takes the browser to render the first piece of DOM content after a user lands on your page. DOM (Document Object Model) represents the objects that comprise the structure and content of a document (i.e. your webpage). This includes images and vector-based graphics, and it excludes any elements inside an iframe.
- Speed Index: This refers to how long it takes for the content of a page to be visually displayed. You want this to only take a few seconds to keep users from bouncing off the page.
- Largest Contentful Paint (LCP): This measures how long it takes for the largest object on the page (such as a hero image or large block of text) to load.
- Time to Interactive (TTI): This refers to the time it takes from loading the page to when it’s ready to respond to user input. For example, it might seem like the page loads quickly, but when a user clicks on a button, nothing happens. TTI measures the time it takes for the page to be reliably responsive.
- Total Blocking Time (TBT): This measures the total amount of time between FCP (when the first piece of DOM content is rendered) and TTI (when the page is ready to respond to user input) where blockades can happen. A blockade occurs when there’s a long task on the main thread. The browser can’t interrupt the task while it’s in progress, so it has to wait for the task to be completed before responding to user input.
- Cumulative Layout Shift (CLS): This measures the number of layout shifts that happen as the page loads. A layout shift occurs when an element jumps from one frame to another — for example, when an ad loads at the last moment and shifts everything on the screen. Excessive layout shifts can negatively impact user experience by disrupting the user or causing them to click on something they didn’t mean to click on.
Tips to Improve Page Speed
Analyzing your scores in the above metrics will help you determine what steps you need to take to improve your site speed. Here are some of the main ways you can do this based on your Lighthouse report.
Every website needs high-quality images, especially in the tours and activities industry. However, they can take a long time to load. Optimize your images by converting them to a format like JPEG 2000, JPEG XR, or WebP. This compresses the images so they’ll load more quickly without losing quality. Another way to cut down on image load time is to use responsive images, creating different image sizes for desktop and mobile and serving the right image depending on the device.
Deliver Smaller Payloads
Extend Browser Caching
Browsers can temporarily store a file (like the images or CSS from a webpage) in the cache and access the local copy every time the visitor returns to that page. The cached files load more quickly, which comes in handy for repeat visitors to your site. Typically, browsers will only cache files for a few minutes. If you have files on your website that don’t change often, such as the images, you can extend the length of the cache time. If someone is visiting your site multiple times during their travel research, this quick load time can lead to better conversions!
Working with your web developer
Google has made it easier to understand your website’s performance and identify areas for improvement with Lighthouse audits. However, some of these more technical elements are best left to your website developer. Start by running an audit to gain insight into your page speed. If you find any elements that are slowing down your page speed significantly, work with your developer to create a plan to remove or improve them.
For more tips on how to optimize your website, read our guide on the top website mistakes and how to fix them.