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.
Start Here
Imagine two restaurant websites.
Both contain the menu you want. The first shows useful information almost immediately. The second gives you a blank screen, then a heading, then a photograph, then the menu jumps down because something else appeared above it.
You tap Book a Table. Nothing happens. You tap again.
Eventually both websites finish loading. Technically, both websites worked. Did they provide the same experience?
No. That difference is web performance.
- Where have you already seen understanding website performance in a real interface?
- Which part of this topic currently feels most important to test in a real page?
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.
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.
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:
- Measure
- Investigate
- Prioritise
- Improve
- Measure again
Check Your Understanding
Before moving forward, can you answer these?
- 1. Why is performance more than page-load time?
- 2. Which Core Web Vital describes visual stability?
- 3. Why should developers measure before optimising?
Check Your Answers
- Because visitors experience several stages: first content, meaningful content, interaction readiness, response speed, and visual stability.
- CLS, or Cumulative Layout Shift.
- 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:
| Criteria | You've succeeded if... |
|---|---|
| your hypothesis is specific enough to test | Completed clearly and correctly in your solution. |
| you avoid making changes before collecting evidence | Completed clearly and correctly in your solution. |
| you connect performance to visitor experience | Completed 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 WebsitesRelated Topics
Explore these related tutorials to expand your knowledge:
Additional Resources
Deepen your understanding with these helpful resources:
- web.dev: Web Vitals - Google guidance on the user-centred metrics covered in this lesson.
- MDN: Web performance - A broader reference for how performance affects the web experience.
- Chrome for Developers: Performance - Practical Chrome guidance for measuring and improving performance.