Mobile 375 × 812

Desktop 1440 × 900

Score: 72 / 100
Based on 8 categories, 0 sections
The overall score is a weighted average of individual category scores. Categories with more impact on user experience and security carry more weight.
Weights reflect general web best practices. Individual needs may differ.
Content-Security-Policy header is missing
No Content-Security-Policy header found
15 button(s) with no accessible text
2 link(s) with no accessible text
Cross-Origin-Embedder-Policy header is missing
[](https://beavercheck.com/results/3c7e00f0-679b-7f0d-b16a-a60ecee6058f)<a href="https://beavercheck.com/results/3c7e00f0-679b-7f0d-b16a-a60ecee6058f"><img src="https://beavercheck.com/badge?url=https%3A%2F%2Fwww.trainline.com" alt="BeaverCheck Score"></a>https://beavercheck.com/badge?url=https%3A%2F%2Fwww.trainline.comThis badge auto-updates with your latest scan result.
Thanks for your feedback!
Industry-standard audits powered by Google Lighthouse.
Key metrics that affect user experience.
First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.
2.89 s
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
18.04 s
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
3.86 s
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.001
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
8.95 s
Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.
19.96 s
Audit breakdown by category with detailed findings.
Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.
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
3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.
A long cache lifetime can speed up repeat visits to your page. Learn more about caching.
| Request | Cache TTL | Transfer Size |
|---|---|---|
| cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 86400.0 s | 128.4 KiB |
| dd.thetrainline.com/tags.js | 3600.0 s | 42.7 KiB |
| cdn.branch.io/branch-latest.min.js | 300.0 s | 23.5 KiB |
| widget.trustpilot.com/trustboxes/54ad5defc6454f065c28af8b/main.js | 86400.0 s | 17.9 KiB |
| cdn.cookielaw.org/scripttemplates/202601.2.0/otTCF.js | 86400.0 s | 17.8 KiB |
| /logos/a2a84c2b-cf30-4041-8d10-5515bb72a9d0/b8cef7dd-2ca6... | 86400.0 s | 14.6 KiB |
| cdn.cookielaw.org/scripttemplates/otSDKStub.js | 86400.0 s | 9.1 KiB |
| widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js | 86400.0 s | 8.1 KiB |
| cdn.cookielaw.org/logos/static/powered_by_logo.svg | 86400.0 s | 2.6 KiB |
| widget.trustpilot.com/trustboxes/54ad5defc6454f065c28af8b/main.js | 86400.0 s | 0 B |
Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.
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.
Each subpart has specific improvement strategies. Ideally, most of the LCP time should be spent on loading the resources, not within delays.
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.
These insights are also available in the Chrome DevTools Performance Panel - record a trace to view more detailed information.
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.
Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.
| URL | Time Spent |
|---|---|
| www.trainline.com/ | 775 ms |
| www.thetrainline.com/ | 761 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.
| URL | Time Spent |
|---|---|
| www.thetrainline.com/en-us | 876 ms |
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.
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.
| URL | Transfer Size | Est Savings |
|---|---|---|
| www.thetrainline.com/public/hweb/css/Home.316c52549f1b86827c33.css | 33.1 KiB | 28.2 KiB |
| 25.7 KiB | 21.4 KiB | |
| www.thetrainline.com/public/hweb/css/vendors.4b534df22c53362b537c.css | 24.8 KiB | 20.9 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.
| URL | Transfer Size | Est Savings |
|---|---|---|
| www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 610.9 KiB | 350.3 KiB |
| www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 645.7 KiB | 335.5 KiB |
| /pagead/managed/js/gpt/m202604060101/pubads_impl.js?cb=31... | 182.9 KiB | 139.4 KiB |
| www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 192.5 KiB | 76.0 KiB |
| cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 128.2 KiB | 61.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.
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
| Category | Time Spent |
|---|---|
| Script Evaluation | 6.6 s |
| Other | 1.8 s |
| Script Parsing & Compilation | 1.0 s |
| Style & Layout | 959 ms |
| Rendering | 527 ms |
| Parse HTML & CSS | 236 ms |
| Garbage Collection | 202 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
| 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 |
Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions
| URL | |
|---|---|
ticket li.vGVGl4mXM1bLiES9JH5x > div.Tz7k7EVAOzoILcOnqgqb > div.J1CXK5Y_oDYlhPWTxkeO > img.ktByu183QUy0kUte53Dw | static.trainlinecontent.com/content/WEB/images/partnerships/train.svg |
bookingDotCom li.vGVGl4mXM1bLiES9JH5x > a.Tz7k7EVAOzoILcOnqgqb > div.J1CXK5Y_oDYlhPWTxkeO > img.ktByu183QUy0kUte53Dw | static.trainlinecontent.com/content/WEB/images/partnerships/bed.svg |
getYourGuide li.vGVGl4mXM1bLiES9JH5x > a.Tz7k7EVAOzoILcOnqgqb > div.J1CXK5Y_oDYlhPWTxkeO > img.ktByu183QUy0kUte53Dw | static.trainlinecontent.com/content/WEB/images/partnerships/castle.svg |
More information about the performance of your application. These numbers don't directly affect the Performance score.
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.
Properly ordered headings that do not skip levels convey the semantic structure of the page, making it easier to navigate and understand when using assistive technologies. Learn more about heading order.
| Failing Elements |
|---|
Tickets div.Tz7k7EVAOzoILcOnqgqb > div.PXHplFjoHiTbACoAwlEH > div > h4.K45yGYbSC7MyiA6M9a3V |
These are opportunities to improve keyboard navigation in your application.
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.
| 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.
| Failing Elements |
|---|
Stays
Booking.com div.LFHk7aeRbwREGGIzsZy6 > div.EYvcisANXjYMsH4CuUY8 > li.vGVGl4mXM1bLiES9JH5x > a.Tz7k7EVAOzoILcOnqgqb |
Attractions
GetYourGuide div.LFHk7aeRbwREGGIzsZy6 > div.EYvcisANXjYMsH4CuUY8 > li.vGVGl4mXM1bLiES9JH5x > a.Tz7k7EVAOzoILcOnqgqb |
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
| Source | Description |
|---|---|
Failed to load resource: the server responded with a status of 404 () |
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.
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.
Descriptive link text helps search engines understand your content. Learn how to make links more accessible.
| 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.
Industry-standard audits powered by Google Lighthouse. — Desktop
Key metrics that affect user experience. — Desktop
First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.
627 ms
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
1.08 s
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
595 ms
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.042
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
3.34 s
Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.
4.64 s
Audit breakdown by category with detailed findings.
Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.
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
3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.
Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.
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.
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.
A long cache lifetime can speed up repeat visits to your page. Learn more about caching.
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.
| 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.
| 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.
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.
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.
| 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.
| 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.
| 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
| 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
| 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.
Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions
| 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.
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.
Low-contrast text is difficult or impossible for many users to read. Learn how to provide sufficient color contrast.
| 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.
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.
| 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.
| Failing Elements |
|---|
Cart div > header.KgN0RfzCJxNXGBsSs1gh > div.keJyFmqmFV8KMC4qK666 > button#bubble-interactive-basket-info |
Image display dimensions should match natural aspect ratio. Learn more about image aspect ratio.
| 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) |
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
| 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.
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.
Descriptive link text helps search engines understand your content. Learn how to make links more accessible.
| 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.
Send Feedback