Lighthouse Desktop
· 0 checks — Desktop Lighthouse audit -- Performance, Accessibility, Best Practices, and SEO category breakdown.Detailed Report
Audit breakdown by category with detailed findings.
Performance
Insights
Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.
Performance issues directly impact user engagement and conversion rates.
Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers. Learn why most sites can deploy ES6+ code without transpiling
Performance issues directly impact user engagement and conversion rates.
3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.
Performance issues directly impact user engagement and conversion rates.
Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.
Performance issues directly impact user engagement and conversion rates.
A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about forced reflows and possible mitigations.
Performance issues directly impact user engagement and conversion rates.
Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.
Performance issues directly impact user engagement and conversion rates.
A long cache lifetime can speed up repeat visits to your page. Learn more about caching.
Performance issues directly impact user engagement and conversion rates.
These insights are also available in the Chrome DevTools Performance Panel - record a trace to view more detailed information.
Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.
Performance issues directly impact user engagement and conversion rates.
| URL | Time Spent |
|---|---|
| www.trainline.com/ | 209 ms |
| www.thetrainline.com/ | 214 ms |
| www.thetrainline.com/en-us | 0.0 ms |
Keep the server response time for the main document short because all other requests depend on it. Learn more about the Time to First Byte metric.
Performance issues directly impact user engagement and conversion rates.
| URL | Time Spent |
|---|---|
| www.thetrainline.com/en-us | 748 ms |
The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.
Performance issues directly impact user engagement and conversion rates.
Time to Interactive is the amount of time it takes for the page to become fully interactive. Learn more about the Time to Interactive metric.
Performance issues directly impact user engagement and conversion rates.
Diagnostics
Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.
Performance issues directly impact user engagement and conversion rates.
| URL | Transfer Size | Est Savings |
|---|---|---|
| www.thetrainline.com/public/hweb/css/Home.316c52549f1b86827c33.css | 33.1 KiB | 26.8 KiB |
| 25.7 KiB | 21.6 KiB | |
| www.thetrainline.com/public/hweb/css/vendors.4b534df22c53362b537c.css | 24.8 KiB | 21.2 KiB |
Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Learn how to reduce unused JavaScript.
Performance issues directly impact user engagement and conversion rates.
| URL | Transfer Size | Est Savings |
|---|---|---|
| www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 610.9 KiB | 346.2 KiB |
| www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 645.7 KiB | 335.2 KiB |
| /pagead/managed/js/gpt/m202604020101/pubads_impl.js | 182.6 KiB | 137.6 KiB |
| www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 192.5 KiB | 76.0 KiB |
| accounts.google.com/gsi/client | 92.6 KiB | 70.0 KiB |
| cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 128.2 KiB | 61.0 KiB |
| www.thetrainline.com/public/hweb/js/google-one-tap.f6f095296acd8a81230d.mjs | 29.6 KiB | 25.0 KiB |
Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.
Performance issues directly impact user engagement and conversion rates.
| URL | Total CPU Time | Script Evaluation | Script Parse |
|---|---|---|---|
| www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 922 ms | 570 ms | 67 ms |
| www.thetrainline.com/en-us | 477 ms | 97 ms | 18 ms |
| Unattributable | 341 ms | 20 ms | 0.0 ms |
| www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 225 ms | 130 ms | 74 ms |
| www.thetrainline.com/public/hweb/js/app.89b9a0d98d3ad67146be.mjs | 200 ms | 195 ms | 4.7 ms |
| cdn.cookielaw.org/scripttemplates/202601.2.0/otTCF.js | 178 ms | 160 ms | 2.7 ms |
| cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 142 ms | 93 ms | 18 ms |
| www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 132 ms | 92 ms | 30 ms |
| dd.thetrainline.com/tags.js | 117 ms | 101 ms | 4.1 ms |
| /pagead/managed/js/gpt/m202604020101/pubads_impl.js | 85 ms | 58 ms | 20 ms |
| js-agent.newrelic.com/nr-spa-1.312.1.min.js | 67 ms | 53 ms | 3.3 ms |
| securepubads.g.doubleclick.net/tag/js/gpt.js | 65 ms | 45 ms | 6.2 ms |
Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work
Performance issues directly impact user engagement and conversion rates.
| Category | Time Spent |
|---|---|
| Script Evaluation | 1.8 s |
| Other | 534 ms |
| Script Parsing & Compilation | 273 ms |
| Style & Layout | 264 ms |
| Rendering | 161 ms |
| Garbage Collection | 97 ms |
| Parse HTML & CSS | 59 ms |
Many navigations are performed by going back to a previous page, or forwards again. The back/forward cache (bfcache) can speed up these return navigations. Learn more about the bfcache
Performance issues directly impact user engagement and conversion rates.
| Failure reason | Failure type |
|---|---|
| Pages with cache-control:no-store header cannot enter back/forward cache. | Actionable |
| Pages whose main resource has cache-control:no-store cannot enter back/forward cache. | Not actionable |
| Back/forward cache is disabled because some JavaScript network request received resource with Cache-Control: no-store header. | Not actionable |
Large network payloads cost users real money and are highly correlated with long load times. Learn how to reduce payload sizes.
Performance issues directly impact user engagement and conversion rates.
Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions
Performance issues directly impact user engagement and conversion rates.
| URL | |
|---|---|
Trainline logo div._1xuxjwvc > a > picture > img | static.trainlinecontent.com/content/vul/logos/trainline-mint.svg |
More information about the performance of your application. These numbers don't directly affect the Performance score.
Accessibility
These checks highlight opportunities to improve the accessibility of your web app. Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so manual testing is also encouraged.
Contrast
Low-contrast text is difficult or impossible for many users to read. Learn how to provide sufficient color contrast.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Get started div > p > a > span |
Book. div._1ghxwjps > div._g1393h > h2.eZMJ2m2yI86EeiadNmqo > span._ryhnfd |
These are opportunities to improve the legibility of your content.
Names and labels
Link text (and alternate text for images, when used as links) that is discernible, unique, and focusable improves the navigation experience for screen reader users. Learn how to make links accessible.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
div.vrf33QMko7ORTI93hIAz > div.scoped-app-store-icons > div.app-store-icons > a.app-store-icon div.vrf33QMko7ORTI93hIAz > div.scoped-app-store-icons > div.app-store-icons > a.app-store-icon |
div.vrf33QMko7ORTI93hIAz > div.scoped-app-store-icons > div.app-store-icons > a.app-store-icon div.vrf33QMko7ORTI93hIAz > div.scoped-app-store-icons > div.app-store-icons > a.app-store-icon |
These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.
Visible text labels that do not match the accessible name can result in a confusing experience for screen reader users. Learn more about accessible names.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Cart div > header.KgN0RfzCJxNXGBsSs1gh > div.keJyFmqmFV8KMC4qK666 > button#bubble-interactive-basket-info |
Best Practices
User Experience
Image display dimensions should match natural aspect ratio. Learn more about image aspect ratio.
Performance issues directly impact user engagement and conversion rates.
| URL | Aspect Ratio (Displayed) | Aspect Ratio (Actual) | |
|---|---|---|---|
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/eurostar/colour/web | 68 x 38 (1.79) | 67 x 19 (3.53) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/thalys/colour/web | 68 x 38 (1.79) | 68 x 18 (3.78) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/ntv/colour/web | 68 x 38 (1.79) | 64 x 18 (3.56) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/tgv_lyria/colour/web | 68 x 38 (1.79) | 50 x 18 (2.78) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/renfe/colour/web | 68 x 38 (1.79) | 36 x 18 (2.00) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/ouigo/colour/web | 68 x 38 (1.79) | 36 x 18 (2.00) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/trenitalia/colour/web | 68 x 38 (1.79) | 24 x 18 (1.33) |
carrier logo ul.Y57r7Yh5OCM_qr3cKsIL > li > span.Op12vEqAIiSa6brOdja6 > img | www.thetrainline.com/carrier-content/carriers/db/colour/web | 68 x 38 (1.79) | 22 x 18 (1.22) |
General
Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. Learn more about this errors in console diagnostic audit
Performance issues directly impact user engagement and conversion rates.
| Source | Description |
|---|---|
www.thetrainline.com/en-us line 120, col 9631 | [GSI_LOGGER]: FedCM get() rejects with NetworkError: Error retrieving a token. |
Failed to load resource: the server responded with a status of 404 () | |
Not signed in with the identity provider. |
Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. Learn more about source maps.
Performance issues directly impact user engagement and conversion rates.
SEO
These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on Core Web Vitals. Learn more about Google Search Essentials.
Content Best Practices
Descriptive link text helps search engines understand your content. Learn how to make links more accessible.
Performance issues directly impact user engagement and conversion rates.
| Link destination | Link Text |
|---|---|
| www.thetrainline.com/terms/cookies | More information |
Format your HTML in a way that enables crawlers to better understand your app’s content.