1. Home
  2. Glossary
  3. DOM
Performance

DOM (Document Object Model)

The tree-like structure the browser builds from a page's HTML. Scripts read and change the DOM, and a very large DOM makes rendering and interactions slower.

Why it matters

Every extra element costs memory and layout time, and scripts that touch a huge DOM run slower. Simpler markup helps interaction speed.

Where you will see it

The free Page weight checker looks at this on a live page and explains what it finds in plain English: measure HTML, scripts, styles and images, find the heaviest files and render-blocking resources.

Related terms

  • INP: A Core Web Vitals metric for responsiveness.
  • TBT: A Lighthouse lab metric that adds up the time the main thread was blocked by long tasks (over 50 ms) while the page was loading.
  • Page weight: The total size of all files a browser downloads to show a page: HTML, CSS, JavaScript, images, fonts and more.

Go deeper

  • Page weight explained: What page weight means, which files make pages heavy, how to measure transferred size, and practical ways to shrink images, scripts, fonts and video.

← All 66 glossary terms

↑ ↓ to moveEnter to openEsc to closeAll results