Explain Like I'm Five: Website speed

Seif Ghezala's photo
Seif Ghezala
Updated 2023-11-13 · 4 min
Table of contents

This post is part of the series Explain Like I'm Five (#eli5), which aims to make tech concepts and terms easy to understand.

In this two minutes read, we'll explain why website speed matters, how to measure it, and how to improve it.

Why website speed matters

A fast website encourages users to stay long enough to purchase products or consider getting in touch.

How to measure website speed

To get quantifiable metrics, we use Google Lighthouse. Let's look at the most important metrics:

TTFB (Time to First Byte)

When you type "tinloof.com" on the address bar and hit ENTER, the browser will ask for the page content from tinloof's servers.

The Time to First Byte is the time it takes for tinloof's servers to send the first byte (tiny piece of data) to the browser.

First Contentful Paint (FCP)

Once the browser receives the page content, it starts painting it.

The First Contentful Paint is the time it takes the browser to paint the first chunk of text or image of the website.

Largest Contentful Paint (LCP)

The Largest Contentful Paint is the time it takes the browser to paint the largest visible block of content.

In the case of tinloof.com homepage, the largest visible block of content is the 3D illustration.

Tinloof's largest homepage block
Tinloof's largest homepage block

Time to Interactive (TTI)

The Time to Interactive is the time it takes for the website to become fully interactive (e.g. you can click on buttons and links).

Perceived website speed

The previous metrics are quite helpful but they only exist to guide us towards our end goal: provide a good user experience.

In fact, there are some tricks we can do that improve this perceived website speed without affecting the metrics.

For example, we progressively load images on our about page:

Video poster

While loading an image, we first show a blurry version of it.

The HD image then replaces the blurry one once it's ready.

Although the final image takes the same time to load without this trick, progressively loading the image gives users the impression it loads faster.

How to improve website speed

There isn't a magical forumla that will make any website fast. If there was, we wouldn't be writing this article.

However, we'll share two tips that are quite effective in making any website faster.

Keep it simple

The most effective way to make a website faster is to keep it as simple as possible.

Why? Because a simple website makes the browser process less code.

Set a speed budget

To determine a website speed budget, we ask ourselves: what's an acceptable speed for our site?

It's fine to exceed this budget during the implementation phase because the main focus is to make things work ahead of deadlines.

Recent articles

Guide to fast Next.js

Insights into how Tinloof measures website speed with best practices to make faster websites.
Seif Ghezala's photo
Seif Ghezala
2024-01-15 · 13 min

Explain Like I'm Five: Headless CMS

This post is part of the series Explain Like I'm Five (#eli5), which aims to make tech concepts and terms easy to understand. In this post, we explain in a few minutes what Headless...
Omar Benseddik's photo
Omar Benseddik
2021-06-19 · 5 min