Advanced35 minperformancecore-web-vitalsuser-experience

Understanding Website Performance

Learn what website performance means, why it is measured from the visitor's perspective, and how LCP, INP, and CLS describe real page experience.

Learning Objectives

By the end of this lesson, you'll be able to:

  • explain website performance in your own words
  • identify factors that influence performance
  • describe LCP, INP, and CLS
  • explain why mobile performance matters
  • explain why developers measure before optimising

Why This Matters:

Learn what website performance means, why it is measured from the visitor's perspective, and how LCP, INP, and CLS describe real page experience.

Before You Start:

You should be familiar with:

Performance is user experience

Website performance describes how quickly and efficiently people can access and interact with a website.

It includes more than page-load time. A visitor experiences several stages:

  • something begins to appear
  • meaningful content appears
  • the interface becomes usable
  • interactions respond
  • the page remains visually stable

A technically correct website can still feel poor if it keeps people waiting, shifts content unexpectedly, or delays interaction feedback.

Core Web Vitals

Three important user-centred measurements are known as the Core Web Vitals.

Largest Contentful Paint (LCP) examines loading performance. A useful beginner-friendly question is: how long does it take for the main visible content to appear? A good LCP is generally 2.5 seconds or less.

Interaction to Next Paint (INP) examines responsiveness. It asks how quickly the interface visually responds after the visitor interacts with it. A good INP is generally 200 milliseconds or less.

Cumulative Layout Shift (CLS) examines visual stability. It asks whether content unexpectedly moves while the page is loading. A good CLS is generally 0.1 or less.

LCPMain content appearsLoading performance
INPInteraction respondsResponsiveness
CLSLayout stays stableVisual stability
Core Web Vitals describe three different parts of the experience: loading, responsiveness, and visual stability.

Performance depends on context

A website tested on a powerful desktop, fast NBN, and localhost may behave very differently on an older phone, mobile data, a congested network, or a distant server.

Professional developers therefore test conditions other than their own. The point is not to make every page perfect in every possible situation. The point is to understand the experience people are likely to have and remove avoidable barriers.

The optimisation cycle

Throughout this pathway we use a repeatable cycle:

  1. Measure
  2. Investigate
  3. Prioritise
  4. Improve
  5. Measure again
The website performance optimisation cycle A circular process moving from measure to investigate, prioritise, improve, and measure again. MeasureInvestigatePrioritiseImproveMeasureagainEvidence-ledimprovement
Performance work is a repeatable cycle. Measure again after every improvement so the next decision is based on evidence.

Check Your Understanding

Before moving forward, can you answer these?

  1. 1. Why is performance more than page-load time?
  2. 2. Which Core Web Vital describes visual stability?
  3. 3. Why should developers measure before optimising?
Check Your Answers
  1. Because visitors experience several stages: first content, meaningful content, interaction readiness, response speed, and visual stability.
  2. CLS, or Cumulative Layout Shift.
  3. Measurement creates evidence. Without it, changes are guesses and you cannot prove whether an improvement helped.

How confident are you with this concept?

Still confused | Getting there | Got it | Could explain it to a friend

Guided Practice

Choose two websites and observe them without running any tools. This is a perception exercise before a measurement exercise.

Step 1 - Load each site on desktop

Record when useful content appears, whether the layout shifts, and whether menus respond immediately.

Step 2 - Load each site on mobile

Repeat the same observation on a phone-sized viewport or physical phone.

Step 3 - Compare the experience

Write down the differences you noticed. Focus on what a visitor would feel, not what a score might say.

Independent Practice

Choose one website you have built.

Your Task:

Write a short performance hypothesis:

I think this website may have performance issues because...

Do not optimise it yet. We measure first.

Requirements:
  • identify one page to investigate later
  • write one hypothesis about loading, interaction, stability, or resource size
  • describe the device or network condition you are most concerned about

Success Criteria:

CriteriaYou've succeeded if...
your hypothesis is specific enough to testCompleted clearly and correctly in your solution.
you avoid making changes before collecting evidenceCompleted clearly and correctly in your solution.
you connect performance to visitor experienceCompleted clearly and correctly in your solution.

Before you continue

  • I can explain web performance.
  • I know what LCP measures.
  • I know what INP measures.
  • I know what CLS measures.
  • I understand that performance differs between devices and networks.
  • I have completed my first performance observation.

Extension activity

Compare the same website using desktop, phone, Wi-Fi, and a slower mobile connection if available. Record whether your perception changes.

Closure

Key Takeaways:

  • Website performance is not simply about making a website "fast".
  • It is about creating an experience that feels available, responsive, and stable.
  • The most important rule introduced today is: measure before you optimise.

Learning Objectives Review:

Look back at what you set out to learn. Can you now:

  • explain website performance in your own words Check!
  • identify factors that influence performance Got it!
  • describe LCP, INP, and CLS Can explain it!
  • explain why mobile performance matters Could teach this!
  • explain why developers measure before optimising Check!

If you can confidently answer "yes" to most of these, you're ready to move on!

Think & Reflect:

Pause and reflect

  • Which idea from this lesson now feels practical rather than abstract?
  • What would you build or test next to make this stick?

Looking Ahead:

  • Website performance is not simply about making a website "fast".
  • It is about creating an experience that feels available, responsive, and stable.
  • The most important rule introduced today is: measure before you optimise.

Otherwise, you are guessing.

Recommended Next Steps

Continue Learning

Ready to move forward? Continue with the next tutorial in this series:

How Browsers Load and Render Websites

Related Topics

Explore these related tutorials to expand your knowledge:

Additional Resources

Deepen your understanding with these helpful resources:

Progress tracking is disabled. Enable it in to track your completed tutorials.