whatwg/html

Performance Issue: Main single-page specification loads whole spec at root URL

開放

#12,782 建立於 2026年8月13日

 (5 則留言) (0 個反應) (0 位負責人)HTML (2,520 個分叉)batch import
good first issuemetaspec tooling

倉庫指標

星標
 (7,654 顆星)
PR 合併指標
 (平均合併 42天 18小時) (30 天內合併 22 個 PR)

描述

What is the issue with the HTML Standard?

⚠️ Performance Issue: Main single-page specification loads whole spec at root URL

Description

Navigating to the root URL (https://html.spec.whatwg.org/) loads the entire HTML Living Standard as a single, monolithic document. This creates severe browser performance issues, especially on lower-spec hardware or mobile devices.

Impact / Symptoms

  • High Memory Consumption: Loads over 15 MB of raw HTML and hundreds of thousands of DOM nodes in a single frame.
  • Browser Freezing/Crashing: Tabs often hang, become unresponsive during rendering, or crash due to memory limits.
  • Sluggish Native Search: Using Ctrl+F causes massive layout recalculation and severe input lag.

Suggested Solutions

  • Consider making the /multipage/ version the default landing view, or prominent default redirect.
  • Add an explicit, high-visibility banner at the top of the single-page view suggesting visitors switch to the /multipage/ or /dev/ edition if they experience page lag.

貢獻者指南