Insights

Google Lighthouse Performance

The Google Lighthouse performance score is a metric that measures the speed and performance of a website. It’s an overall score that ranges from 0 to 100 and is generated based on a number of different performance metrics, such as the time it takes for a website to load, the time it takes for a website to become interactive, the size of the resources used by the website, and other factors that impact the user experience.

A high performance score in Google Lighthouse indicates that a website is fast and responsive, which can lead to a better user experience and improved search engine rankings. On the other hand, a low performance score can indicate that a website is slow and unresponsive, and can negatively impact the user experience.

Mobile Performance
30%
Desktop Performance
40%

Core Web Vitals

Core Web Vitals are a set of specific factors that Google considers important in a webpage’s overall user experience. Core Web Vitals are made up of three specific page speed and user interaction measurements: Largest Contentful PaintFirst Input Delay, and Cumulative Layout Shift.

VitalMobileDesktopTarget
Largest Contentful Paint58.4 s11.3 s< 2.5 s
First Input Delay440 ms260 ms< 100ms
Cumulative Layout Shift0.0070.281 0.1

Opportunities

Optimise images

By optimising the following images, roughly 12 MB could be removed from the transfer size, about 64%. This would reduce the CO2 generated per page load from 4.27g grams to 1.53 grams.

Images should be optimised for the web for several reasons:

  1. Reduced file size: Optimizing images can result in a smaller file size, which can help to reduce the amount of data that needs to be downloaded. This can lead to faster page load times and improved performance.
  2. Improved user experience: Optimising images can help to improve the overall user experience, as pages with optimised images load faster and are more responsive.
  3. Lower emissions: Optimising images can help to reduce the emissions associated with data transfer, as less data needs to be transmitted over the network.
  4. Better accessibility: Optimising images can make them more accessible to users with slower connections or limited data plans.

Subset large font files

Fonts should be subsetted to reduce the file size, improve performance, and reduce emissions. Subsetting a font involves removing any characters that are not needed for a particular use case, resulting in a smaller file size and faster page load times. Some specific reasons why fonts should be subsetted include:

  1. Reduced file size: Subsetting a font removes any unused characters, which can result in a smaller file size. This can help to reduce the amount of data that needs to be downloaded, leading to faster page load times and lower emissions.
  2. Improved performance: Fonts that are subsetted are faster to load and render than fonts that are not subsetted. This can help to improve the overall performance of a website, leading to a better user experience.

Overall, subsetting fonts is a good practice for anyone looking to optimize the performance and reduce the emissions of a website of a website.

elementskit.woff ~249 KB ~231 KB
mfn-icons.woff ~80 KB ~62 KB
JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2 ~31 KB ~13 KB
xn7gYHE41ni1AdIRggexSvfedN4.woff2 ~25 KB ~7 KB

Convert font files to woff2

WOFF2 is considered to be the best font format for web use because it provides a good balance of file size and compatibility. Some specific reasons why WOFF2 is a good font format include:

  1. Small file size: WOFF2 is a compressed font format, which means that it has a smaller file size compared to other font formats like TTF or OTF. This is important for web use because smaller file sizes can help to reduce the amount of data that needs to be downloaded, leading to faster page load times.
  2. High-quality font rendering: WOFF2 provides high-quality font rendering, making it a good choice for use on the web.

It’s worth noting that WOFF2 is not the only font format that can be used on the web, and there may be cases where other formats like WOFF or TTF are more suitable, depending on the specific requirements of the website. However, for most cases, WOFF2 is considered to be the best font format for web use due to its combination of small file size, good browser support, and high-quality font rendering.

Fontformat
mfn-icons.woffwoff
elementskit.woffwoff

Remove third party font files

Font files should be loaded from the same hosting as the website because

  1. Increased loading time: Third-party sub-resources, such as scripts, fonts, or images, need to be downloaded from a separate server before they can be displayed on the website. This can increase the overall loading time of the page, leading to a slower user experience.
  2. Dependence on external servers: The loading of third-party subresources is dependent on the availability and performance of the external servers that host them. If these servers are slow or unavailable, it can result in slow page loading times or even errors.
  3. Increased risk of security threats: Third-party subresources can introduce security risks to a website, as they can contain malicious code or be used to track user activity.
HostFont
fonts.gstatic.comJTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2
fonts.gstatic.comxn7gYHE41ni1AdIRggexSvfedN4.woff2
fonts.gstatic.comKFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2
fonts.gstatic.comJTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aXx-p7K4KLg.woff
fonts.gstatic.comKFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2
fonts.gstatic.comKFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2

Replace jQuery and jQuery libraries with more modern code

jQuery is a popular and widely-used JavaScript library that simplifies web development by providing a set of tools and functions to interact with HTML documents, handle events, create animations, and make asynchronous HTTP requests.

In the past, jQuery was a very popular choice for web development because it simplified many common tasks and provided a consistent and cross-browser-compatible API. However, with the advancement of modern web technologies and improvements in browser capabilities, the need for jQuery has decreased.

Many modern web frameworks and libraries, such as React and Angular, provide their own set of tools for handling common tasks and interacting with the DOM, making jQuery less necessary in many cases. The Javascript engine in modern browsers have also become more consistent in the feature implementations often eliminating the need for a library like jQuery.

jQuery represents an opportunity because:

  1. Performance: While jQuery is a powerful and useful library, it can slow down website performance due to its large size and complex code. Modern browsers have also improved their native support for many of the features that jQuery provides, reducing the need for it.
  2. Maintainability: jQuery code can be difficult to maintain and update, particularly as web technologies evolve and change. This can make it harder for developers to keep up with best practices and standards for web development.
  3. Accessibility: Some jQuery plugins and features can create accessibility issues, particularly for users who rely on assistive technologies. This can make it harder for people with disabilities to use and access websites.

First Contentful Paint

First Contentful Paint (FCP) is a performance metric that measures the time it takes for the first piece of content to be rendered on the screen when a user navigates to a web page. This content can be any visual element on the page, such as text, images, or a background color.

FCP is important because it directly affects the perceived speed of a website, and can impact user engagement and conversion rates. A faster FCP can lead to a better user experience and improved performance.

Here are a few ways you can optimise your FCP:

  1. Optimise images: Large, unoptimised images can slow down a page’s FCP. You can optimise images by compressing them, reducing their dimensions, and choosing the right format for each image.
  2. Minimise HTTP requests: Each resource requested by a web page, such as images, scripts, and stylesheets, requires a separate HTTP request. Minimising the number of HTTP requests can help to reduce the time it takes for a page to render.
  3. Prioritize critical content: Prioritizing critical content, such as above-the-fold content, can help to ensure that users see something on the screen quickly, even if the rest of the page is still loading.
  4. Reduce server response time: A slow server response time can significantly impact FCP. Optimizing server-side code and server settings can help to reduce response times and improve FCP.
  5. Use a performance monitoring tool: There are many tools available that can help you monitor your website’s performance, including FCP. These tools can help you identify performance issues and track your progress as you implement optimizations.
MobileDesktop
Score4%39%
Timing5.9 s1.8 s

Largest Contentful Paint

MobileDesktop
Score0%0%
Timing58.4 s11.3 s

Total Blocking Time

MobileDesktop
Score16%84%
Timing1,360 ms180 ms

Cumulative Layout Shift

MobileDesktop
Score100%43%
Timing0.0070.281

Speed Index

MobileDesktop
Score0%0%
Timing27.6 s8.1 s

Time to Interactive

MobileDesktop
Score2%42%
Timing19.7 s4.9 s

Max Potential First Input Delay

MobileDesktop
Score13%46%
Timing440 ms260 ms

First Meaningful Paint

MobileDesktop
Score17%39%
Timing5.9 s1.8 s

Eliminate render-blocking resources

MobileDesktop
Score22%40%
InsightPotential savings of 3,140 msPotential savings of 1,630 ms

Properly size images

MobileDesktop
Score11%56%
InsightPotential savings of 772 KiBPotential savings of 907 KiB

Defer offscreen images

MobileDesktop
Score25%100%
InsightPotential savings of 882 KiBPotential savings of 876 KiB

Reduce unused CSS

MobileDesktop
Score46%93%
InsightPotential savings of 188 KiBPotential savings of 198 KiB

Reduce unused JavaScript

MobileDesktop
Score18%58%
InsightPotential savings of 457 KiBPotential savings of 444 KiB

Efficiently encode images

MobileDesktop
Score0%44%
InsightPotential savings of 1,295 KiBPotential savings of 1,498 KiB

Serve images in next-gen formats

MobileDesktop
Score0%0%
InsightPotential savings of 13,134 KiBPotential savings of 14,057 KiB

Reduce initial server response time

MobileDesktop
GradeFailFail
InsightRoot document took 2,260 msRoot document took 2,110 ms

Avoid serving legacy JavaScript to modern browsers

MobileDesktop
Score100%97%
InsightPotential savings of 15 KiBPotential savings of 15 KiB

Avoid enormous network payloads

MobileDesktop
Score0%0%
InsightTotal size was 19,083 KiBTotal size was 19,089 KiB

Serve static assets with an efficient cache policy

MobileDesktop
Score53%53%
Insight59 resources found59 resources found

Avoid an excessive DOM size

MobileDesktop
Score74%74%
Insight1,064 elements1,064 elements

Reduce JavaScript execution time

MobileDesktop
Score24%88%
Timing5.9 s1.4 s

Minimize main-thread work

MobileDesktop
Score0%62%
Timing13.9 s3.4 s

Ensure text remains visible during webfont load

MobileDesktop
GradeFailFail

Reduce the impact of third-party code

MobileDesktop
GradeFailFail
InsightThird-party code blocked the main thread for 1,520 msThird-party code blocked the main thread for 290 ms

Does not use passive listeners to improve scrolling performance

MobileDesktop
GradeFailFail

Image elements do not have explicit width and height

MobileDesktop
GradeFailFail