Performance
· 14 checks — Lighthouse + waterfall + sustainability rolled into one auditable list.Performance-focused optimization plan with CWV assessment, top offenders, and time estimates
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
Page Load Progression
FPage Weight BudgetAction2.7 MB transferred, 95 requestsFIX
Large JavaScript bundles delay interactivity. Split code by route or defer non-critical scripts.
JavaScript bundle is large — code-split routes and lazy-load off-screen components to defer.
Source: web.dev
DThird-Party ImpactAction100% third-party, 0 ms blockingFIX
DJS Execution CostAction2950ms total JS executionFIX
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 922ms | 570ms | 67ms | 3rd |
| https://www.thetrainline.com/en-us | 477ms | 97ms | 18ms | 3rd |
| Unattributable | 341ms | 20ms | 0ms | 3rd |
| https://www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 225ms | 130ms | 74ms | 3rd |
| https://www.thetrainline.com/public/hweb/js/app.89b9a0d98d3ad67146be.mjs | 200ms | 195ms | 5ms | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otTCF.js | 178ms | 160ms | 3ms | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 142ms | 93ms | 18ms | 3rd |
| https://www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 132ms | 92ms | 30ms | 3rd |
| https://dd.thetrainline.com/tags.js | 117ms | 101ms | 4ms | 3rd |
| https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/m202604020101/pubads_impl.js | 85ms | 58ms | 20ms | 3rd |
Showing top 10 of 12 scripts
FJS BundlesAction30 scripts, 1.0 MB unusedFIX
Downloaded but never executed on this page.
| Script | Size | Unused | Minified | Party |
|---|---|---|---|---|
| https://www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 611 KB | 346 KB (57%) | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 647 KB | 335 KB (52%) | ✓ | 3rd |
| https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/m202604020101/pubads_impl.js | 183 KB | 138 KB (75%) | ✓ | 3rd |
| https://www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 193 KB | 76 KB (39%) | ✓ | 3rd |
| https://accounts.google.com/gsi/client | 93 KB | 70 KB (76%) | ✓ | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 128 KB | 61 KB (48%) | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/google-one-tap.f6f095296acd8a81230d.mjs | 30 KB | 25 KB (84%) | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/shareable-login-it-IT-json-translations.d58965399cff02397f7e.mjs | 4 KB | — | ✓ | 3rd |
| https://widget.trustpilot.com/trustboxes/54ad5defc6454f065c28af8b/main.js | 0 KB | — | ✓ | 3rd |
| https://widget.trustpilot.com/trustboxes/54ad5defc6454f065c28af8b/main.js | 18 KB | — | ✓ | 3rd |
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
FHTTP CachingActionNo cache headersFIX
No Cache-Control header
Adding a Cache-Control header can significantly improve repeat-visit performance.
BImage Optimization15 images, 0 KB saveableREVIEW
Set explicit width and height to prevent CLS.
Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.
Source: web.dev / Core Web Vitals
CGreen HostingActionWhether the site is served from green-energy infrastructureREVIEW
Green Hosting
No green hosting detected
A+Text CompressionAll text resources are compressedPASS
A+Font Loading2 fonts (42 KB)PASS
Web fonts
2
42 KB total
Render-blocking
0
of 2
Dominant font-display
swap
Most common across fonts
Font loading timeline
- Convert to woff2 for ~30% smaller file size
Optimization checklist
- Preload critical fonts (priority=high)
- Use woff2 format for all fonts
- Set font-display to swap, optional, or fallback
- Subset large fonts (≤100 KB each)
A+Resource CachingAll resources properly cachedPASS
A+Critical Rendering PathNo render-blocking resourcesPASS
A+Resource HintsNo optimization neededPASS
Network Waterfall95 requests over 0msINFO
Performance analysis not available for this result.
Third-Party Script CostPer-script blocking time, transfer cost, and cache headersINFO
| Script | Category | Execution | Transfer | Unused | Monthly Cost | Verdict |
|---|---|---|---|---|---|---|
www.thetrainline.com www.thetrainline.com | Other | 922ms | 611 KB | 57% | $16/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 477ms | 117 KB | — | $8/mo | Costly |
Unattributable Unattributable | Other | 341ms | 0 KB | — | $6/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 225ms | 647 KB | 52% | $4/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 200ms | 48 KB | — | $3/mo | Optional |
OneTrust cdn.cookielaw.org | Consent | 178ms | 18 KB | — | $3/mo | Essential |
OneTrust cdn.cookielaw.org | Consent | 142ms | 128 KB | 48% | $2/mo | Essential |
Google Tag Manager www.googletagmanager.com | Tag Manager | 132ms | 193 KB | 39% | $2/mo | Optional |
dd.thetrainline.com dd.thetrainline.com | Other | 117ms | 43 KB | — | $2/mo | Optional |
securepubads.g.doubleclick.net securepubads.g.doubleclick.net | Other | 85ms | 183 KB | 75% | $1/mo | Optional |
js-agent.newrelic.com js-agent.newrelic.com | Other | 67ms | 30 KB | — | $1/mo | Optional |
securepubads.g.doubleclick.net securepubads.g.doubleclick.net | Other | 65ms | 34 KB | — | $1/mo | Optional |
These scripts may cost more than they're worth
- www.thetrainline.com adds 922ms and costs ~$16/month
- www.thetrainline.com adds 477ms and costs ~$8/month
- Unattributable adds 341ms and costs ~$6/month
- www.thetrainline.com adds 225ms and costs ~$4/month
100% of JavaScript execution time is spent on third-party scripts. Consider auditing which scripts are essential.
When third-party JS execution time exceeds your own, performance gains from frontend work are capped by code you don't own.
Learn more ▾ ▴
Every millisecond of third-party JS competes with your own for main-thread time. If their share is bigger than yours, optimization on your code base barely moves the needle. Audit, defer, or remove third-parties before further frontend optimization. Use Lighthouse's third-party audit to identify the worst offenders.
Source: web.dev
www.thetrainline.com takes 922ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
57% of www.thetrainline.com's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev
www.thetrainline.com takes 477ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Unattributable takes 341ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
www.thetrainline.com takes 225ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
52% of www.thetrainline.com's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev
75% of securepubads.g.doubleclick.net's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev