Skip to content

Enormous HTML documents causing some docs pages to crash and be unusable #65018

Description

@bhaugeea

Affected URL(s)

https://nodejs.org/api/fs.html

Description of the problem

The affected page (https://nodejs.org/api/fs.html) invariably crashes and stalls in my browser. As of this writing it has 25,306 DOM nodes, well above Google Lighthouse's recommended cap of 1,500. Walking up the list of pages by source markdown file size, my browser seems to start behaving poorly between http.md (141K) and buffer.md (the 7th-largest file, at 153K). fs.md is the largest file, at 293K. Chrome's CTRL+F search feature is what breaks first, but /fs.html behaves poorly even without it.

My setup:

  • Windows
  • Ryzen 7 PRO 8840U w/ Radeon 780M Graphics
  • 32 GB RAM
  • Chrome (incognito, no extensions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions