lighthouse 12.8.2-dev.20251004 → 12.8.2-dev.20251006

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/cli/test/smokehouse/config/exclusions.js +0 -2
  2. package/core/audits/audit.js +0 -1
  3. package/core/audits/insights/cls-culprits-insight.js +1 -1
  4. package/core/audits/insights/dom-size-insight.js +6 -6
  5. package/core/audits/redirects.js +1 -0
  6. package/core/audits/server-response-time.d.ts +0 -5
  7. package/core/audits/server-response-time.js +12 -26
  8. package/core/computed/metrics/lcp-breakdown.js +1 -0
  9. package/core/config/default-config.js +20 -63
  10. package/core/config/experimental-config.js +1 -26
  11. package/core/config/filters.js +6 -9
  12. package/core/config/lr-desktop-config.js +0 -1
  13. package/core/config/lr-mobile-config.js +0 -1
  14. package/core/gather/gatherers/trace-elements.js +1 -0
  15. package/core/lib/proto-preprocessor.js +5 -22
  16. package/dist/report/bundle.esm.js +10 -49
  17. package/dist/report/flow.js +12 -51
  18. package/dist/report/standalone.js +11 -50
  19. package/flow-report/src/i18n/i18n.d.ts +4 -6
  20. package/package.json +3 -3
  21. package/report/assets/styles.css +0 -39
  22. package/report/renderer/api.js +0 -1
  23. package/report/renderer/category-renderer.js +6 -0
  24. package/report/renderer/components.js +1 -1
  25. package/report/renderer/dom.d.ts +0 -13
  26. package/report/renderer/dom.js +0 -38
  27. package/report/renderer/performance-category-renderer.d.ts +0 -26
  28. package/report/renderer/performance-category-renderer.js +10 -142
  29. package/report/renderer/report-ui-features.d.ts +0 -1
  30. package/report/renderer/report-ui-features.js +3 -13
  31. package/report/renderer/report-utils.d.ts +2 -3
  32. package/report/renderer/report-utils.js +4 -6
  33. package/report/types/report-renderer.d.ts +0 -6
  34. package/shared/localization/locales/ar-XB.json +0 -330
  35. package/shared/localization/locales/ar.json +0 -330
  36. package/shared/localization/locales/bg.json +0 -330
  37. package/shared/localization/locales/ca.json +0 -330
  38. package/shared/localization/locales/cs.json +0 -330
  39. package/shared/localization/locales/da.json +0 -330
  40. package/shared/localization/locales/de.json +0 -330
  41. package/shared/localization/locales/el.json +0 -330
  42. package/shared/localization/locales/en-GB.json +0 -330
  43. package/shared/localization/locales/en-US.json +26 -275
  44. package/shared/localization/locales/en-XA.json +0 -330
  45. package/shared/localization/locales/en-XL.json +26 -275
  46. package/shared/localization/locales/es-419.json +0 -330
  47. package/shared/localization/locales/es.json +0 -330
  48. package/shared/localization/locales/fi.json +0 -330
  49. package/shared/localization/locales/fil.json +0 -330
  50. package/shared/localization/locales/fr.json +0 -330
  51. package/shared/localization/locales/he.json +0 -330
  52. package/shared/localization/locales/hi.json +0 -330
  53. package/shared/localization/locales/hr.json +0 -330
  54. package/shared/localization/locales/hu.json +0 -330
  55. package/shared/localization/locales/id.json +0 -330
  56. package/shared/localization/locales/it.json +0 -330
  57. package/shared/localization/locales/ja.json +0 -330
  58. package/shared/localization/locales/ko.json +0 -330
  59. package/shared/localization/locales/lt.json +0 -330
  60. package/shared/localization/locales/lv.json +0 -330
  61. package/shared/localization/locales/nl.json +0 -330
  62. package/shared/localization/locales/no.json +0 -330
  63. package/shared/localization/locales/pl.json +0 -330
  64. package/shared/localization/locales/pt-PT.json +0 -330
  65. package/shared/localization/locales/pt.json +0 -330
  66. package/shared/localization/locales/ro.json +0 -330
  67. package/shared/localization/locales/ru.json +0 -330
  68. package/shared/localization/locales/sk.json +0 -330
  69. package/shared/localization/locales/sl.json +0 -330
  70. package/shared/localization/locales/sr-Latn.json +0 -330
  71. package/shared/localization/locales/sr.json +0 -330
  72. package/shared/localization/locales/sv.json +0 -330
  73. package/shared/localization/locales/ta.json +0 -330
  74. package/shared/localization/locales/te.json +0 -330
  75. package/shared/localization/locales/th.json +0 -330
  76. package/shared/localization/locales/tr.json +0 -330
  77. package/shared/localization/locales/uk.json +0 -330
  78. package/shared/localization/locales/vi.json +0 -330
  79. package/shared/localization/locales/zh-HK.json +0 -330
  80. package/shared/localization/locales/zh-TW.json +0 -330
  81. package/shared/localization/locales/zh.json +0 -330
  82. package/types/artifacts.d.ts +1 -0
  83. package/types/audit.d.ts +1 -1
  84. package/types/lhr/settings.d.ts +1 -1
  85. package/core/audits/byte-efficiency/duplicated-javascript.d.ts +0 -45
  86. package/core/audits/byte-efficiency/duplicated-javascript.js +0 -223
  87. package/core/audits/byte-efficiency/efficient-animated-content.d.ts +0 -22
  88. package/core/audits/byte-efficiency/efficient-animated-content.js +0 -93
  89. package/core/audits/byte-efficiency/legacy-javascript.d.ts +0 -28
  90. package/core/audits/byte-efficiency/legacy-javascript.js +0 -144
  91. package/core/audits/byte-efficiency/modern-image-formats.d.ts +0 -38
  92. package/core/audits/byte-efficiency/modern-image-formats.js +0 -187
  93. package/core/audits/byte-efficiency/render-blocking-resources.d.ts +0 -53
  94. package/core/audits/byte-efficiency/render-blocking-resources.js +0 -312
  95. package/core/audits/byte-efficiency/uses-long-cache-ttl.d.ts +0 -59
  96. package/core/audits/byte-efficiency/uses-long-cache-ttl.js +0 -293
  97. package/core/audits/byte-efficiency/uses-optimized-images.d.ts +0 -33
  98. package/core/audits/byte-efficiency/uses-optimized-images.js +0 -146
  99. package/core/audits/byte-efficiency/uses-responsive-images-snapshot.d.ts +0 -16
  100. package/core/audits/byte-efficiency/uses-responsive-images-snapshot.js +0 -106
  101. package/core/audits/byte-efficiency/uses-responsive-images.d.ts +0 -44
  102. package/core/audits/byte-efficiency/uses-responsive-images.js +0 -202
  103. package/core/audits/byte-efficiency/uses-text-compression.d.ts +0 -14
  104. package/core/audits/byte-efficiency/uses-text-compression.js +0 -108
  105. package/core/audits/critical-request-chains.d.ts +0 -44
  106. package/core/audits/critical-request-chains.js +0 -221
  107. package/core/audits/dobetterweb/dom-size.d.ts +0 -32
  108. package/core/audits/dobetterweb/dom-size.js +0 -182
  109. package/core/audits/dobetterweb/uses-http2.d.ts +0 -72
  110. package/core/audits/dobetterweb/uses-http2.js +0 -276
  111. package/core/audits/font-display.d.ts +0 -32
  112. package/core/audits/font-display.js +0 -195
  113. package/core/audits/largest-contentful-paint-element.d.ts +0 -34
  114. package/core/audits/largest-contentful-paint-element.js +0 -181
  115. package/core/audits/lcp-lazy-loaded.d.ts +0 -22
  116. package/core/audits/lcp-lazy-loaded.js +0 -115
  117. package/core/audits/prioritize-lcp-image.d.ts +0 -74
  118. package/core/audits/prioritize-lcp-image.js +0 -297
  119. package/core/audits/third-party-summary.d.ts +0 -78
  120. package/core/audits/third-party-summary.js +0 -236
  121. package/core/audits/uses-rel-preconnect.d.ts +0 -37
  122. package/core/audits/uses-rel-preconnect.js +0 -286
  123. package/core/audits/viewport.d.ts +0 -17
  124. package/core/audits/viewport.js +0 -87
  125. package/core/audits/work-during-interaction.d.ts +0 -81
  126. package/core/audits/work-during-interaction.js +0 -287
@@ -647,45 +647,12 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "JavaScript 執行時間"
649
649
  },
650
- "core/audits/byte-efficiency/duplicated-javascript.js | description": {
651
- "message": "從套件中移除重複的大型 JavaScript 模組,以減少網絡活動耗用不必要的字節。 "
652
- },
653
- "core/audits/byte-efficiency/duplicated-javascript.js | title": {
654
- "message": "請移除 JavaScript 套件中的重複模組"
655
- },
656
- "core/audits/byte-efficiency/efficient-animated-content.js | description": {
657
- "message": "使用大型 GIF 檔案呈現動畫內容會降低網絡傳輸效率。建議改用 MPEG4/WebM 格式的動畫影片和 PNG/WebP 格式的靜態圖片取代 GIF,以節省網絡字節。[進一步瞭解有效率的影片格式](https://developer.chrome.com/docs/lighthouse/performance/efficient-animated-content/)"
658
- },
659
- "core/audits/byte-efficiency/efficient-animated-content.js | title": {
660
- "message": "使用影片格式的動畫內容"
661
- },
662
- "core/audits/byte-efficiency/legacy-javascript.js | description": {
663
- "message": "Polyfill 和轉換可讓舊版瀏覽器使用新版 JavaScript 的功能。不過,有很多 Polyfill 和轉換都不是新型瀏覽器的必要項目。除非你認為必須支援舊版瀏覽器,否則請考慮將 JavaScript 建立流程改為不轉譯[基準](https://web.dev/baseline)功能。[瞭解為何大部分網站無需轉譯也能部署 ES6+ 程式碼](https://philipwalton.com/articles/the-state-of-es5-on-the-web/)"
664
- },
665
- "core/audits/byte-efficiency/legacy-javascript.js | detectedCoreJs2Warning": {
666
- "message": "系統偵測到網頁採用 core-js 第 2 版。第 3 版大幅提升效能,請務必升級。"
667
- },
668
- "core/audits/byte-efficiency/legacy-javascript.js | title": {
669
- "message": "避免向新型瀏覽器提供舊版 JavaScript"
670
- },
671
- "core/audits/byte-efficiency/modern-image-formats.js | description": {
672
- "message": "WebP 和 AVIF 等圖片格式通常比 PNG 或 JPEG 有更好的壓縮效果,能夠更快完成下載及減少數據用量。[進一步瞭解新型圖像格式](https://developer.chrome.com/docs/lighthouse/performance/uses-webp-images/)。"
673
- },
674
- "core/audits/byte-efficiency/modern-image-formats.js | title": {
675
- "message": "提供 next-gen 格式的圖片"
676
- },
677
650
  "core/audits/byte-efficiency/offscreen-images.js | description": {
678
651
  "message": "建議在所有重要資源載入完成前,延遲載入螢幕外和隱藏的圖片,以縮短可互動所需時間。[瞭解如何延遲載入螢幕外的圖片](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)。"
679
652
  },
680
653
  "core/audits/byte-efficiency/offscreen-images.js | title": {
681
654
  "message": "延遲載入螢幕外圖片"
682
655
  },
683
- "core/audits/byte-efficiency/render-blocking-resources.js | description": {
684
- "message": "過多資源往往會阻止系統首次繪製頁面。建議內嵌重要的 JS/CSS,延遲所有不重要的 JS/樣式。[瞭解如何移除阻止輸出的資源](https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/)。"
685
- },
686
- "core/audits/byte-efficiency/render-blocking-resources.js | title": {
687
- "message": "排除阻止呈現的資源"
688
- },
689
656
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
690
657
  "message": "網絡負載過大會造成使用者的費用負擔,且往往與過長載入時間息息相關。[瞭解如何減低負載大小](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)。"
691
658
  },
@@ -722,48 +689,6 @@
722
689
  "core/audits/byte-efficiency/unused-javascript.js | title": {
723
690
  "message": "減少未使用的 JavaScript"
724
691
  },
725
- "core/audits/byte-efficiency/uses-long-cache-ttl.js | description": {
726
- "message": "延長快取期限可加快重覆瀏覽頁面的速度。[進一步瞭解有效率的快取政策](https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/)。"
727
- },
728
- "core/audits/byte-efficiency/uses-long-cache-ttl.js | displayValue": {
729
- "message": "{itemCount,plural, =1{已找到 1 項資源}other{已找到 # 項資源}}"
730
- },
731
- "core/audits/byte-efficiency/uses-long-cache-ttl.js | failureTitle": {
732
- "message": "採用有效的快取政策提供靜態資產"
733
- },
734
- "core/audits/byte-efficiency/uses-long-cache-ttl.js | title": {
735
- "message": "使用有效的快取政策處理靜態資產"
736
- },
737
- "core/audits/byte-efficiency/uses-optimized-images.js | description": {
738
- "message": "優化圖片以加快載入速度,減少流動數據用量。[瞭解如何有效率地進行圖片編碼](https://developer.chrome.com/docs/lighthouse/performance/uses-optimized-images/)."
739
- },
740
- "core/audits/byte-efficiency/uses-optimized-images.js | title": {
741
- "message": "有效地進行圖片編碼"
742
- },
743
- "core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnActualDimensions": {
744
- "message": "實際尺寸"
745
- },
746
- "core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnDisplayedDimensions": {
747
- "message": "顯示的尺寸"
748
- },
749
- "core/audits/byte-efficiency/uses-responsive-images-snapshot.js | failureTitle": {
750
- "message": "圖片大於其顯示大小"
751
- },
752
- "core/audits/byte-efficiency/uses-responsive-images-snapshot.js | title": {
753
- "message": "圖片適合其顯示大小"
754
- },
755
- "core/audits/byte-efficiency/uses-responsive-images.js | description": {
756
- "message": "提供適當大小的圖片有助節省流動數據用量,並縮短載入時間。[瞭解如何調整圖片大小](https://developer.chrome.com/docs/lighthouse/performance/uses-responsive-images/)。"
757
- },
758
- "core/audits/byte-efficiency/uses-responsive-images.js | title": {
759
- "message": "適當調整圖片大小"
760
- },
761
- "core/audits/byte-efficiency/uses-text-compression.js | description": {
762
- "message": "文字資源應經過 (gzip、deflate 或 brotli) 壓縮,以將網絡字節總數減至最少。[進一步瞭解文字壓縮](https://developer.chrome.com/docs/lighthouse/performance/uses-text-compression/)。"
763
- },
764
- "core/audits/byte-efficiency/uses-text-compression.js | title": {
765
- "message": "啟用文字壓縮"
766
- },
767
692
  "core/audits/clickjacking-mitigation.js | columnSeverity": {
768
693
  "message": "嚴重程度"
769
694
  },
@@ -776,15 +701,6 @@
776
701
  "core/audits/clickjacking-mitigation.js | title": {
777
702
  "message": "使用 XFO 或 CSP 防範點擊劫持攻擊"
778
703
  },
779
- "core/audits/critical-request-chains.js | description": {
780
- "message": "下方的「關鍵要求鏈結」顯示以高優先次序發佈的資源。為了提高頁面載入速度,建議您縮短鏈結長度,縮減下載資源的大小,或延遲下載不必要資源。[瞭解如何避免鏈結關鍵要求](https://developer.chrome.com/docs/lighthouse/performance/critical-request-chains/)。"
781
- },
782
- "core/audits/critical-request-chains.js | displayValue": {
783
- "message": "{itemCount,plural, =1{已找到 1 個鏈結}other{已找到 # 個鏈結}}"
784
- },
785
- "core/audits/critical-request-chains.js | title": {
786
- "message": "避免鏈結重要要求"
787
- },
788
704
  "core/audits/csp-xss.js | columnDirective": {
789
705
  "message": "指令"
790
706
  },
@@ -860,33 +776,6 @@
860
776
  "core/audits/dobetterweb/doctype.js | title": {
861
777
  "message": "網頁含有 HTML DOCTYPE"
862
778
  },
863
- "core/audits/dobetterweb/dom-size.js | columnStatistic": {
864
- "message": "統計資料"
865
- },
866
- "core/audits/dobetterweb/dom-size.js | columnValue": {
867
- "message": "值"
868
- },
869
- "core/audits/dobetterweb/dom-size.js | description": {
870
- "message": "大型 DOM 會增加記憶體用量、延長[樣式運算](https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations)的時間,並產生費用高昂的[版面配置重排](https://developers.google.com/speed/articles/reflow)。[瞭解如何避免 DOM 過大](https://developer.chrome.com/docs/lighthouse/performance/dom-size/)。"
871
- },
872
- "core/audits/dobetterweb/dom-size.js | displayValue": {
873
- "message": "{itemCount,plural, =1{1 個元素}other{# 個元素}}"
874
- },
875
- "core/audits/dobetterweb/dom-size.js | failureTitle": {
876
- "message": "避免 DOM 過大"
877
- },
878
- "core/audits/dobetterweb/dom-size.js | statisticDOMDepth": {
879
- "message": "DOM 深度上限"
880
- },
881
- "core/audits/dobetterweb/dom-size.js | statisticDOMElements": {
882
- "message": "DOM 元素總數"
883
- },
884
- "core/audits/dobetterweb/dom-size.js | statisticDOMWidth": {
885
- "message": "子元素數量上限"
886
- },
887
- "core/audits/dobetterweb/dom-size.js | title": {
888
- "message": "避免 DOM 過大"
889
- },
890
779
  "core/audits/dobetterweb/geolocation-on-start.js | description": {
891
780
  "message": "如果未提供其他資訊就要求存取使用者的位置,會讓使用者感到困惑而不信任網站。建議您在使用者執行特定動作時,再提出這項要求。[進一步瞭解地理位置權限](https://developer.chrome.com/docs/lighthouse/best-practices/geolocation-on-start/)。"
892
781
  },
@@ -950,18 +839,6 @@
950
839
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
951
840
  "message": "允許使用者貼上至輸入欄位"
952
841
  },
953
- "core/audits/dobetterweb/uses-http2.js | columnProtocol": {
954
- "message": "通訊協定"
955
- },
956
- "core/audits/dobetterweb/uses-http2.js | description": {
957
- "message": "HTTP/2 具備很多 HTTP/1.1 沒有的優點,包括二進制標題和多工處理。[進一步瞭解 HTTP/2](https://developer.chrome.com/docs/lighthouse/best-practices/uses-http2/)。"
958
- },
959
- "core/audits/dobetterweb/uses-http2.js | displayValue": {
960
- "message": "{itemCount,plural, =1{有 1 個要求未透過 HTTP/2 傳送}other{有 # 個要求未透過 HTTP/2 傳送}}"
961
- },
962
- "core/audits/dobetterweb/uses-http2.js | title": {
963
- "message": "使用 HTTP/2"
964
- },
965
842
  "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
966
843
  "message": "建議將輕觸動作和滑鼠滾輪事件監聽器標示為 `passive`,以提升網頁的捲動效能。[進一步瞭解如何採用被動事件監聽器器](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)。"
967
844
  },
@@ -980,18 +857,6 @@
980
857
  "core/audits/errors-in-console.js | title": {
981
858
  "message": "系統未在管理中心記錄瀏覽器發生的錯誤"
982
859
  },
983
- "core/audits/font-display.js | description": {
984
- "message": "利用 `font-display` CSS 功能,確保系統在載入網頁字型時使用者可以看到文字。[進一步瞭解 `font-display`](https://developer.chrome.com/docs/lighthouse/performance/font-display/)。"
985
- },
986
- "core/audits/font-display.js | failureTitle": {
987
- "message": "確保文字在網頁字型載入時仍然顯示"
988
- },
989
- "core/audits/font-display.js | title": {
990
- "message": "在網頁字型載入時,所有文字仍然顯示"
991
- },
992
- "core/audits/font-display.js | undeclaredFontOriginWarning": {
993
- "message": "{fontCountForOrigin,plural, =1{Lighthouse 無法為來源 ({fontOrigin}) 自動檢查 `font-display` 值。}other{Lighthouse 無法為來源 ({fontOrigin}) 自動檢查 `font-display` 值。}}"
994
- },
995
860
  "core/audits/has-hsts.js | columnDirective": {
996
861
  "message": "指令"
997
862
  },
@@ -1088,63 +953,6 @@
1088
953
  "core/audits/is-on-https.js | warning": {
1089
954
  "message": "允許 (附警告)"
1090
955
  },
1091
- "core/audits/largest-contentful-paint-element.js | columnPercentOfLCP": {
1092
- "message": "% 的 LCP"
1093
- },
1094
- "core/audits/largest-contentful-paint-element.js | columnPhase": {
1095
- "message": "階段"
1096
- },
1097
- "core/audits/largest-contentful-paint-element.js | columnTiming": {
1098
- "message": "時間"
1099
- },
1100
- "core/audits/largest-contentful-paint-element.js | description": {
1101
- "message": "這是在檢視區中繪製的最大內容元素。[進一步瞭解「最大內容繪製」元素](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/)"
1102
- },
1103
- "core/audits/largest-contentful-paint-element.js | itemLoadDelay": {
1104
- "message": "載入延遲"
1105
- },
1106
- "core/audits/largest-contentful-paint-element.js | itemLoadTime": {
1107
- "message": "載入時間"
1108
- },
1109
- "core/audits/largest-contentful-paint-element.js | itemRenderDelay": {
1110
- "message": "輸出延遲"
1111
- },
1112
- "core/audits/largest-contentful-paint-element.js | itemTTFB": {
1113
- "message": "TTFB"
1114
- },
1115
- "core/audits/largest-contentful-paint-element.js | title": {
1116
- "message": "「最大內容繪製」元素"
1117
- },
1118
- "core/audits/layout-shifts.js | columnScore": {
1119
- "message": "版面配置轉移分數"
1120
- },
1121
- "core/audits/layout-shifts.js | description": {
1122
- "message": "這些是網頁上發現的最大版面配置轉移。每個表格項目都代表一個版面配置轉移,並會顯示轉移最多的元素。每個項目下方是導致版面配置轉移的潛在根本原因。由於[視窗化](https://web.dev/articles/cls#what_is_cls),部分版面配置轉移可能不會包含在 CLS 數據值中。[瞭解如何改善累計版面配置轉移 (CLS)](https://web.dev/articles/optimize-cls)"
1123
- },
1124
- "core/audits/layout-shifts.js | displayValueShiftsFound": {
1125
- "message": "{shiftCount,plural, =1{找到 1 項版面配置轉移}other{找到 # 項版面配置轉移}}"
1126
- },
1127
- "core/audits/layout-shifts.js | rootCauseFontChanges": {
1128
- "message": "已載入網頁字型"
1129
- },
1130
- "core/audits/layout-shifts.js | rootCauseInjectedIframe": {
1131
- "message": "已插入 iframe"
1132
- },
1133
- "core/audits/layout-shifts.js | rootCauseUnsizedMedia": {
1134
- "message": "媒體元素沒有明確尺寸"
1135
- },
1136
- "core/audits/layout-shifts.js | title": {
1137
- "message": "避免大幅度的版面配置轉移"
1138
- },
1139
- "core/audits/lcp-lazy-loaded.js | description": {
1140
- "message": "系統會在頁面生命週期的較後時段輸出延遲載入的毋需捲動的當眼位置圖片,這可能導致最大內容繪製發生延遲。[進一步瞭解最佳延遲載入](https://web.dev/articles/lcp-lazy-loading)。"
1141
- },
1142
- "core/audits/lcp-lazy-loaded.js | failureTitle": {
1143
- "message": "「最大內容繪製」圖片延遲載入"
1144
- },
1145
- "core/audits/lcp-lazy-loaded.js | title": {
1146
- "message": "「最大內容繪製」圖片沒有延遲載入"
1147
- },
1148
956
  "core/audits/long-tasks.js | description": {
1149
957
  "message": "列出主要執行緒上執行時間最長的工作,有助辨識導致輸入延遲的主因。[瞭解如何避免長時間的主要執行緒工作](https://web.dev/articles/optimize-long-tasks)"
1150
958
  },
@@ -1205,33 +1013,6 @@
1205
1013
  "core/audits/network-server-latency.js | title": {
1206
1014
  "message": "伺服器後端延遲時間"
1207
1015
  },
1208
- "core/audits/non-composited-animations.js | description": {
1209
- "message": "未合成的動畫可能無法順暢播放,而且會增加累計版面配置轉移 (CLS)。[瞭解如何避免使用非合成動畫](https://developer.chrome.com/docs/lighthouse/performance/non-composited-animations/)"
1210
- },
1211
- "core/audits/non-composited-animations.js | displayValue": {
1212
- "message": "{itemCount,plural, =1{找到 # 個動畫元素}other{找到 # 個動畫元素}}"
1213
- },
1214
- "core/audits/non-composited-animations.js | filterMayMovePixels": {
1215
- "message": "篩選器相關的屬性可能會移動像素"
1216
- },
1217
- "core/audits/non-composited-animations.js | incompatibleAnimations": {
1218
- "message": "目標包含其他不兼容的動畫"
1219
- },
1220
- "core/audits/non-composited-animations.js | nonReplaceCompositeMode": {
1221
- "message": "效果包含「replace」以外的合成模式"
1222
- },
1223
- "core/audits/non-composited-animations.js | title": {
1224
- "message": "避免使用非合成的動畫"
1225
- },
1226
- "core/audits/non-composited-animations.js | transformDependsBoxSize": {
1227
- "message": "轉換相關屬性取決於方塊大小"
1228
- },
1229
- "core/audits/non-composited-animations.js | unsupportedCSSProperty": {
1230
- "message": "{propertyCount,plural, =1{不支援的 CSS 屬性:{properties}}other{不支援的 CSS 屬性:{properties}}}"
1231
- },
1232
- "core/audits/non-composited-animations.js | unsupportedTimingParameters": {
1233
- "message": "效果包含不支援的時間參數"
1234
- },
1235
1016
  "core/audits/origin-isolation.js | columnDirective": {
1236
1017
  "message": "指令"
1237
1018
  },
@@ -1250,12 +1031,6 @@
1250
1031
  "core/audits/origin-isolation.js | title": {
1251
1032
  "message": "使用 COOP 確保正確的隔離來源"
1252
1033
  },
1253
- "core/audits/prioritize-lcp-image.js | description": {
1254
- "message": "如果 LCP 元素是以動態方式加入網頁,您應預先載入圖片才能改善 LCP。[進一步瞭解預先載入 LCP 元素](https://web.dev/articles/optimize-lcp#optimize_when_the_resource_is_discovered)。"
1255
- },
1256
- "core/audits/prioritize-lcp-image.js | title": {
1257
- "message": "預先載入「最大內容繪製」圖片"
1258
- },
1259
1034
  "core/audits/redirects-http.js | description": {
1260
1035
  "message": "請確認是否已將所有 HTTP 流量重新導向至 HTTPS,以便為所有使用者提供安全的網絡功能。[瞭解詳情](https://developer.chrome.com/docs/lighthouse/pwa/redirects-http/)。"
1261
1036
  },
@@ -1265,12 +1040,6 @@
1265
1040
  "core/audits/redirects-http.js | title": {
1266
1041
  "message": "將 HTTP 流量重新導向至 HTTPS"
1267
1042
  },
1268
- "core/audits/redirects.js | description": {
1269
- "message": "重新導向會導致頁面延遲載入。[瞭解如何避免網頁重新導向](https://developer.chrome.com/docs/lighthouse/performance/redirects/)。"
1270
- },
1271
- "core/audits/redirects.js | title": {
1272
- "message": "避免多次頁面重新導向"
1273
- },
1274
1043
  "core/audits/seo/canonical.js | description": {
1275
1044
  "message": "標準連結會建議要在搜尋結果中顯示哪個網址。[進一步瞭解標準連結](https://developer.chrome.com/docs/lighthouse/seo/canonical/)。"
1276
1045
  },
@@ -1388,18 +1157,6 @@
1388
1157
  "core/audits/seo/robots-txt.js | title": {
1389
1158
  "message": "robots.txt 有效"
1390
1159
  },
1391
- "core/audits/server-response-time.js | description": {
1392
- "message": "請確保主要文件的伺服器回應時間不會太長,因為這會影響所有其他要求。[進一步瞭解「首個字節時間」數據](https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/)。"
1393
- },
1394
- "core/audits/server-response-time.js | displayValue": {
1395
- "message": "根文件回應時間為 {timeInMs, number, milliseconds} 毫秒"
1396
- },
1397
- "core/audits/server-response-time.js | failureTitle": {
1398
- "message": "縮短初始伺服器回應時間"
1399
- },
1400
- "core/audits/server-response-time.js | title": {
1401
- "message": "初始伺服器回應時間短暫"
1402
- },
1403
1160
  "core/audits/third-party-cookies.js | description": {
1404
1161
  "message": "第三方 Cookie 在某些情況下可能會被封鎖。[進一步瞭解如何應對第三方 Cookie 限制](https://privacysandbox.google.com/cookies/prepare/overview)。"
1405
1162
  },
@@ -1412,21 +1169,6 @@
1412
1169
  "core/audits/third-party-cookies.js | title": {
1413
1170
  "message": "避免使用第三方 Cookie"
1414
1171
  },
1415
- "core/audits/third-party-summary.js | columnThirdParty": {
1416
- "message": "第三方"
1417
- },
1418
- "core/audits/third-party-summary.js | description": {
1419
- "message": "第三方程式碼可能會嚴重影響載入效能。請盡量減少不必要的第三方供應商,並在網頁的主要內容載入完成後,再載入第三方程式碼。[瞭解如何盡量減少第三方程式碼的影響](https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/loading-third-party-javascript/)。"
1420
- },
1421
- "core/audits/third-party-summary.js | displayValue": {
1422
- "message": "第三方程式碼將主要執行緒封鎖了 {timeInMs, number, milliseconds} 毫秒"
1423
- },
1424
- "core/audits/third-party-summary.js | failureTitle": {
1425
- "message": "減低第三方程式碼的影響"
1426
- },
1427
- "core/audits/third-party-summary.js | title": {
1428
- "message": "減少第三方程式碼使用量"
1429
- },
1430
1172
  "core/audits/trusted-types-xss.js | columnSeverity": {
1431
1173
  "message": "嚴重性"
1432
1174
  },
@@ -1439,15 +1181,6 @@
1439
1181
  "core/audits/trusted-types-xss.js | title": {
1440
1182
  "message": "緩解設有「受信任類型」的 DOM XSS"
1441
1183
  },
1442
- "core/audits/unsized-images.js | description": {
1443
- "message": "請明確設定圖片元素的寬度和高度,以減少版面配置轉移及改善累計版面配置轉移 (CLS)。[瞭解如何設定圖片尺寸](https://web.dev/articles/optimize-cls#images_without_dimensions)"
1444
- },
1445
- "core/audits/unsized-images.js | failureTitle": {
1446
- "message": "圖片元素並無顯性`width`和`height`"
1447
- },
1448
- "core/audits/unsized-images.js | title": {
1449
- "message": "圖片元素具有顯性`width`和`height`"
1450
- },
1451
1184
  "core/audits/user-timings.js | columnType": {
1452
1185
  "message": "類別"
1453
1186
  },
@@ -1460,21 +1193,6 @@
1460
1193
  "core/audits/user-timings.js | title": {
1461
1194
  "message": "用戶使用時間標記和測量結果"
1462
1195
  },
1463
- "core/audits/uses-rel-preconnect.js | crossoriginWarning": {
1464
- "message": "{securityOrigin} 有「`<link rel=preconnect>`」,但瀏覽器沒有使用。請檢查您使用 `crossorigin` 屬性的方式是否正確。"
1465
- },
1466
- "core/audits/uses-rel-preconnect.js | description": {
1467
- "message": "建議您新增 `preconnect` 或 `dns-prefetch` 資源提示,及早連線至重要的第三方來源。[瞭解如何預先連線至需要的來源](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/)。"
1468
- },
1469
- "core/audits/uses-rel-preconnect.js | title": {
1470
- "message": "預先連接至必要來源"
1471
- },
1472
- "core/audits/uses-rel-preconnect.js | tooManyPreconnectLinksWarning": {
1473
- "message": "已找到超過 2 個「`<link rel=preconnect>`」的連結。這些連結應盡量少用,並只用於最重要的來源。"
1474
- },
1475
- "core/audits/uses-rel-preconnect.js | unusedWarning": {
1476
- "message": "{securityOrigin} 有「`<link rel=preconnect>`」,但瀏覽器沒有使用。請只為載入網頁一定會要求的重要來源使用「`preconnect`」。"
1477
- },
1478
1196
  "core/audits/valid-source-maps.js | columnMapURL": {
1479
1197
  "message": "對應網址"
1480
1198
  },
@@ -1493,42 +1211,6 @@
1493
1211
  "core/audits/valid-source-maps.js | title": {
1494
1212
  "message": "頁面包含有效的來源對應"
1495
1213
  },
1496
- "core/audits/viewport.js | description": {
1497
- "message": "`<meta name=\"viewport\">` 不但會針對流動裝置螢幕大小來優化應用程式,還能夠防止[使用者輸入時發生 300 毫秒的延遲](https://developer.chrome.com/blog/300ms-tap-delay-gone-away/)。[進一步瞭解使用檢視區中繼標記](https://developer.chrome.com/docs/lighthouse/pwa/viewport/)。"
1498
- },
1499
- "core/audits/viewport.js | explanationNoTag": {
1500
- "message": "找不到任何 `<meta name=\"viewport\">` 標籤"
1501
- },
1502
- "core/audits/viewport.js | failureTitle": {
1503
- "message": "缺少包括 `width` 或 `initial-scale` 的 `<meta name=\"viewport\">` 標籤"
1504
- },
1505
- "core/audits/viewport.js | title": {
1506
- "message": "具備包括 `<meta name=\"viewport\">` 或 `width` 的 `initial-scale` 標籤"
1507
- },
1508
- "core/audits/work-during-interaction.js | description": {
1509
- "message": "這是在「互動至下一個繪製」測量期間發生的執行緒封鎖工作。[進一步瞭解「互動至下一個繪製」數據](https://web.dev/articles/inp)。"
1510
- },
1511
- "core/audits/work-during-interaction.js | displayValue": {
1512
- "message": "事件「{interactionType}」已花費 {timeInMs, number, milliseconds} 毫秒"
1513
- },
1514
- "core/audits/work-during-interaction.js | eventTarget": {
1515
- "message": "事件目標"
1516
- },
1517
- "core/audits/work-during-interaction.js | failureTitle": {
1518
- "message": "在重要互動時將工作減至最少"
1519
- },
1520
- "core/audits/work-during-interaction.js | inputDelay": {
1521
- "message": "輸入延遲"
1522
- },
1523
- "core/audits/work-during-interaction.js | presentationDelay": {
1524
- "message": "螢幕畫面分享延遲"
1525
- },
1526
- "core/audits/work-during-interaction.js | processingDuration": {
1527
- "message": "處理時間長度"
1528
- },
1529
- "core/audits/work-during-interaction.js | title": {
1530
- "message": "在重要互動時將工作減至最少"
1531
- },
1532
1214
  "core/config/default-config.js | a11yAriaGroupDescription": {
1533
1215
  "message": "這些提示可協助改善 ARIA 在應用程式中的使用情況,進而提升輔助技術 (例如螢幕閱讀器) 使用者的體驗。"
1534
1216
  },
@@ -3359,9 +3041,6 @@
3359
3041
  "node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-responsive-images": {
3360
3042
  "message": "啟用「[`Adaptive Image Sizing`](https://support.nitropack.io/hc/en-us/articles/10123833029905-How-to-Enable-Adaptive-Image-Sizing-For-Your-Site)」可預先優化圖片,讓圖片符合所有裝置上的顯示容器尺寸。"
3361
3043
  },
3362
- "node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-text-compression": {
3363
- "message": "在 NitroPack 中使用「[`Gzip compression`](https://support.nitropack.io/hc/en-us/articles/13229297479313-Enabling-GZIP-compression)」,可減少傳送至瀏覽器的檔案大小。"
3364
- },
3365
3044
  "node_modules/lighthouse-stack-packs/packs/nuxt.js | modern-image-formats": {
3366
3045
  "message": "請使用 `nuxt/image` 組件並設定 `format=\"webp\"`。[瞭解詳情](https://image.nuxt.com/usage/nuxt-img#format)。"
3367
3046
  },
@@ -3584,15 +3263,9 @@
3584
3263
  "report/renderer/report-utils.js | footerIssue": {
3585
3264
  "message": "報告問題"
3586
3265
  },
3587
- "report/renderer/report-utils.js | goBackToAudits": {
3588
- "message": "返回審核頁面"
3589
- },
3590
3266
  "report/renderer/report-utils.js | hide": {
3591
3267
  "message": "隱藏"
3592
3268
  },
3593
- "report/renderer/report-utils.js | insightsNotice": {
3594
- "message": "分析功能將於今年稍後時間取代效能審核。[按此瞭解詳情和分享意見](https://github.com/GoogleChrome/lighthouse/discussions/16462)。"
3595
- },
3596
3269
  "report/renderer/report-utils.js | labDataTitle": {
3597
3270
  "message": "實驗室數據"
3598
3271
  },
@@ -3692,9 +3365,6 @@
3692
3365
  "report/renderer/report-utils.js | toplevelWarningsMessage": {
3693
3366
  "message": "導致這次 Lighthouse 無法順利執行的問題:"
3694
3367
  },
3695
- "report/renderer/report-utils.js | tryInsights": {
3696
- "message": "試用分析功能"
3697
- },
3698
3368
  "report/renderer/report-utils.js | unattributable": {
3699
3369
  "message": "無法歸因"
3700
3370
  },