Performance
· 17 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.
4.43 s
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
7.73 s
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
402 ms
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.024
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
13.01 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.
25.99 s
Page Load Progression
FPage Weight BudgetAction5.5 MB transferred, 97 requestsFIX
Convert images to WebP/AVIF and resize to display dimensions to reduce transfer size.
Image bandwidth is high — modern formats (WebP/AVIF) and resizing typically cut it 50%+.
Source: web.dev
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 CostAction3346ms total JS executionFIX
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.shanghai.gov.cn/ | 1444ms | 275ms | 7ms | 3rd |
| Unattributable | 707ms | 10ms | 0ms | 3rd |
| https://www.shanghai.gov.cn/assets2020/js/footer.js | 330ms | 239ms | 8ms | 3rd |
| https://www.shanghai.gov.cn/assets2020/js/ETUI/jquery.min.1.12.4.js | 327ms | 263ms | 12ms | 3rd |
| https://wza.shanghai.gov.cn/a11y/schubert.js | 188ms | 165ms | 2ms | 3rd |
| https://wza.shanghai.gov.cn/a11y/modules/pinyin.js?v=2.6.8.1 | 187ms | 105ms | 81ms | 3rd |
| https://www.shanghai.gov.cn/assets2020/js/ETUI/ETUI3.min.js | 88ms | 42ms | 11ms | 3rd |
| https://stat.shanghai.gov.cn/stat/traffic_v2.js | 74ms | 63ms | 9ms | 3rd |
DJS BundlesAction31 scripts, 288 KB unusedFIX
Downloaded but never executed on this page.
| Script | Size | Unused | Minified | Party |
|---|---|---|---|---|
| https://wza.shanghai.gov.cn/a11y/modules/darkreader.js?v=2.6.8.1 | 84 KB | 70 KB (83%) | ✓ | 3rd |
| https://www.shanghai.gov.cn/assets2020/js/ETUI/ETUI3.min.js | 71 KB | 53 KB (75%) | ✗ | 3rd |
| https://wza.shanghai.gov.cn/a11y/modules/jquery.js?v=2.6.8.1 | 83 KB | 42 KB (50%) | ✓ | 3rd |
| https://wza.shanghai.gov.cn/a11y/modules/trout.js?v=2.6.8.1 | 67 KB | 37 KB (56%) | ✓ | 3rd |
| https://www.shanghai.gov.cn/assets2020/js/ETUI/jquery.min.1.12.4.js | 88 KB | 31 KB (35%) | ✓ | 3rd |
| https://wza.shanghai.gov.cn/a11y/modules/splayer.js?v=2.6.8.1 | 59 KB | 30 KB (50%) | ✓ | 3rd |
| https://voice.shanghai.gov.cn/js/gov_msc.js | 35 KB | 27 KB (78%) | ✗ | 3rd |
| https://wza.shanghai.gov.cn/a11y/schubert.js | 14 KB | — | ✓ | 3rd |
| https://jhelper.shanghai.gov.cn/wzagjt/a11y/access.js | 1 KB | — | ✓ | 3rd |
| https://jhelper.shanghai.gov.cn/publicJS/3100000044.js | 6 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
DPage Weight InventoryAction97 resources · 5.5 MB · 288 KB savings availableFIX
~288.3 KiB of savings available
| # | Resource | Type | Size | Cache | Unused | 3rd party | Issues |
|---|---|---|---|---|---|---|---|
| — | — | ||||||
| 97 resources | 5.5 MiB | ||||||
FHTTP CachingActionNo cache headersFIX
No Cache-Control header
Adding a Cache-Control header can significantly improve repeat-visit performance.
CImage OptimizationAction52 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
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
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
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
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
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
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
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
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
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
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
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 Loading1 fonts (44 KB)PASS
Web fonts
1
44 KB total
Render-blocking
0
of 1
Dominant font-display
swap
Most common across fonts
Font loading timeline
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
A+Render-Blocking ResourcesNo render-blocking resources detectedPASS
A+Third-Party ResourcesNo third-party resources detectedPASS
Network Waterfall97 requests over 12768msINFO
Third-Party Script CostPer-script blocking time, transfer cost, and cache headersINFO
| Script | Category | Execution | Transfer | Unused | Monthly Cost | Verdict |
|---|---|---|---|---|---|---|
www.shanghai.gov.cn www.shanghai.gov.cn | Other | 1444ms | 18 KB | — | ¥71/mo | Costly |
Unattributable Unattributable | Other | 707ms | 0 KB | — | ¥35/mo | Costly |
www.shanghai.gov.cn www.shanghai.gov.cn | Other | 330ms | 58 KB | — | ¥16/mo | Costly |
www.shanghai.gov.cn www.shanghai.gov.cn | Other | 327ms | 88 KB | 35% | ¥16/mo | Costly |
wza.shanghai.gov.cn wza.shanghai.gov.cn | Other | 188ms | 14 KB | — | ¥9/mo | Optional |
wza.shanghai.gov.cn wza.shanghai.gov.cn | Other | 187ms | 560 KB | — | ¥9/mo | Optional |
www.shanghai.gov.cn www.shanghai.gov.cn | Other | 88ms | 71 KB | 75% | ¥4/mo | Optional |
stat.shanghai.gov.cn stat.shanghai.gov.cn | Other | 74ms | 27 KB | — | ¥4/mo | Optional |
These scripts may cost more than they're worth
- www.shanghai.gov.cn adds 1444ms and costs ~¥71/month
- Unattributable adds 707ms and costs ~¥35/month
- www.shanghai.gov.cn adds 330ms and costs ~¥16/month
- www.shanghai.gov.cn adds 327ms and costs ~¥16/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.shanghai.gov.cn takes 1444ms 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 707ms 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.shanghai.gov.cn takes 330ms 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.shanghai.gov.cn takes 327ms 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
75% of www.shanghai.gov.cn'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