Lighthouse audits and reports for improved performance

Google Lighthouse Insights Reports

Lighthouse has several audit categories such as Performance, Accessibility, Best Practices, and SEO. Each section has SEO suggestions for you to correct in order for you to pass the audit and increase your score. Conduct a web audit with our Technical SEO Spider Tool to discover vital fixes that you will want to correct to help boost your rankings in the SERPs.

Improving issues with a Lighthouse Web Audit

Learn how you can improve your website's usability and speed by updating your code.

Boosting your website with Web Audits

You can better understand the coding changes needed for your website below is what you would need to update to improve your website's speed, user experience, and overall rankings for Lighthouse.

Performance

Values are estimated and may vary. The performance score is calculated directly from these metrics.

First Contentful Paint

First Contentful Paint marks the time at which the first text or image is painted.

Speed Index

Speed Index shows how quickly the contents of a page are visibly populated.

Largest Contentful Paint

Largest Contentful Paint marks the time at which the largest text or image is painted.

Time to Interactive

Time to interactive is the amount of time it takes for the page to become fully interactive.

Total Blocking Time

Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds.

Cumulative Layout Shift

Cumulative Layout Shift measures the movement of visible elements within the viewport.

Avoid chaining critical requests

The Critical Request Chains below show you what resources are loaded with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.

Keep request counts low and transfer sizes small

To set budgets for the quantity and size of page resources, add a budget.json file.

Largest Contentful Paint element

This is the largest contentful element painted within the viewport.

Avoid long main-thread tasks

Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay.

Eliminate render-blocking resources

Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles.

Properly size images

Serve images that are appropriately sized to save cellular data and improve load time.

Defer offscreen images

Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive.

Minify CSS

Minifying CSS files can reduce network payload sizes.

Minify JavaScript

Minifying JavaScript files can reduce payload sizes and script parse time.

Reduce unused CSS

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity.

Reduce unused JavaScript

Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity.

Efficiently encode images

Optimized images load faster and consume less cellular data.

Serve images in next-gen formats

Image formats like WebP and AVIF often provide better compression than PNG or JPEG, which means faster downloads and less data consumption.

Enable text compression

Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes.

Preconnect to required origins

Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins.

Initial server response time was short Root document took 100 ms

Keep the server response time for the main document short because all other requests depend on it.

Avoid multiple page redirects

Redirects introduce additional delays before the page can be loaded.

Preload key requests

Consider using <link rel=preload> to prioritize fetching resources that are currently requested later in page load.

Use HTTP/2

HTTP/2 offers many benefits over HTTP/1.1, including binary headers and multiplexing.

Use video formats for animated content

Large GIFs are inefficient for delivering animated content. Consider using MPEG4/WebM videos for animations and PNG/WebP for static images instead of GIF to save network bytes.

Remove duplicate modules in JavaScript bundles

Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.

Avoid serving legacy JavaScript to modern browsers

Polyfills and transforms enable legacy browsers to use new JavaScript features. However, many aren't necessary for modern browsers. For your bundled JavaScript, adopt a modern script deployment strategy using module/nomodule feature detection to reduce the amount of code shipped to modern browsers, while retaining support for legacy browsers.

Preload Largest Contentful Paint image

Preload the image used by the LCP element in order to improve your LCP time.

Avoids enormous network payloads

Large network payloads cost users real money and are highly correlated with long load times.

Uses efficient cache policy on static assets

A long cache lifetime can speed up repeat visits to your page.

Avoids an excessive DOM size

A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows.

User Timing marks and measures

Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences.

JavaScript execution time

Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this.

Minimizes main-thread work

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this.

All text remains visible during webfont loads

Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading.

Minimize third-party usage

Third-party code can significantly impact load performance. Limit the number of redundant third-party providers and try to load third-party code after your page has primarily finished loading.

Lazy load third-party resources with facades

Some third-party embeds can be lazy loaded. Consider replacing them with a facade until they are required.

Largest Contentful Paint image was not lazily loaded

Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint.

Avoid large layout shifts

These DOM elements contribute most to the CLS of the page.

Uses passive listeners to improve scrolling performance

Consider marking your touch and wheel event listeners as passive to improve your page's scroll performance.

Avoids document.write()

For users on slow connections, external scripts dynamically injected via document.write() can delay page load by tens of seconds.

Avoid non-composited animations

Animations which are not composited can be janky and increase CLS.

Image elements have explicit width and height

Set an explicit width and height on image elements to reduce layout shifts and improve CLS.

Has a tag with width or initial-scale

A not only optimizes your app for mobile screen sizes, but also prevents a 300 millisecond delay to user input.

Avoids unload event listeners

The unload event does not fire reliably and listening for it can prevent browser optimizations like the Back-Forward Cache. Use pagehide or visibilitychange events instead.

Accessibility

These checks highlight opportunities to improve the accessibility of your web app. Only a subset of accessibility issues can be automatically detected so manual testing is also encouraged.

The page has a logical tab order

Tabbing through the page follows the visual layout. Users cannot focus elements that are offscreen.

Interactive controls are keyboard focusable

Custom interactive controls are keyboard focusable and display a focus indicator.

Interactive elements indicate their purpose and state

Interactive elements, such as links and buttons, should indicate their state and be distinguishable from non-interactive elements.

The user's focus is directed to new content added to the page

If new content, such as a dialog, is added to the page, the user's focus is directed to it.

User focus is not accidentally trapped in a region

A user can tab into and out of any control or region without accidentally trapping their focus.

Custom controls have associated labels

Custom interactive controls have associated labels, provided by aria-label or aria-labelledby.

Custom controls have ARIA roles

Custom interactive controls have appropriate ARIA roles.

Visual order on the page follows DOM order

DOM order matches the visual order, improving navigation for assistive technology.

Offscreen content is hidden from assistive technology

Offscreen content is hidden with display: none or aria-hidden=true.

HTML5 landmark elements are used to improve navigation

Landmark elements (

,