Skip to content
Auto Genius Help Center home
Auto Genius Help Center home

What Happens When a Page Loads (Simple Explanation)

Purpose

This page provides a simple explanation of what happens when a page loads.

A simple timeline

When someone visits a page, the browser typically:

  1. downloads the HTML
  2. reads the HTML and discovers CSS, scripts, images, and fonts
  3. builds the page structure (DOM)
  4. builds the style model (CSSOM)
  5. calculates layout and paints pixels
  6. runs JavaScript to add interactivity
  7. continues loading additional resources

Why some pages feel slow

A page can feel slow when:

  • key resources are discovered late
  • CSS blocks rendering until it is downloaded and parsed
  • JavaScript keeps the main thread busy
  • third party scripts inject work during the early part of load

Authoritative references:

How to connect this to real metrics

Google’s Core Web Vitals map user experience to measurable signals:

  • LCP relates to when the main content appears
  • CLS relates to how stable the page is
  • INP relates to how responsive interactions are

Reference:

Related pages:

  • What “Blocking” vs “Non-Blocking” Means
  • Why Some Scripts Are Delayed on Purpose