惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
LangChain Blog
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
P
Proofpoint News Feed
雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
IT之家
IT之家
V
Vulnerabilities – Threatpost
阮一峰的网络日志
阮一峰的网络日志
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs
S
Schneier on Security
Security Archives - TechRepublic
Security Archives - TechRepublic
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
The Register - Security
The Register - Security
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
Project Zero
Project Zero
博客园 - 叶小钗
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
Latest news
Latest news
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
L
LINUX DO - 最新话题
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
I
InfoQ
F
Fortinet All Blogs
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threatpost
T
Tenable Blog
B
Blog RSS Feed

A web performance blog

How to A/B test your site without making it slow Top web performance tips for Black Friday Easy ways to make single page apps faster Web pages that need special web performance attention Why I'm preloading a font even when I shouldn't have to How to deliver super-fast web pages with prerendering
Does a better speed index score always mean a better experience?
2019-08-26 · via A web performance blog

26 August 2019

At the dawn of web performance time, a website's speed was pretty much all about time to onload.

Things have moved on a lot. Clever people have come up with clever ways to home in on metrics that mean something. Metrics that tell you about user experience, not network traffic.

We have time to interactive, first paint, time to visually complete. And of course speed index.

If you're not familiar with speed index, it can be loosely defined as the rate at which a page becomes visually complete.

A page that renders more content earlier will get a lower (better) score than one that renders the same content later. This means that two pages with identical render start and visually complete times could still have very different speed index scores.

This is illustrated in the two charts below. The first shows a page with a high (slow) speed index, the second a page with a low (fast) speed index.

Chart illustrating a page with a slow speed index Chart illustrating a page with a fast speed index

On the face of it, speed index is a great way to get an insight into the experience a web page delivers. It has some limitations – for obvious reasons, it doesn't really work with animated pages. But for a lot of people – me included – it's become the go-to metric for render performance.

However, the road to web performance hell is paved with good intentions. Slavishly adhering to metrics or, worse, focusing in on one or two metrics to the exclusion of all else, could land us in trouble.

When it comes to speed index, we take it on trust that displaying more content faster is just, well, better. After all, we do have plenty of statistics linking website speed – usually time to onload – to a whole host of other KPIs. And speed index has to be a better measure of performance than load time, surely?

Well, probably. But the desire to optimise for speed index put me in mind of an excellent piece of work from Radware a few years ago. They looked at progressive JPEGs – JPEGs that render a low resolution placeholder while you wait for the full version to finish loading. Many people assumed that a progressive JPEG delivers a better experience than a baseline JPEG. It sounds like common sense. Better to have something in place that gives you a good idea of what the finished image will look like. In fact, this study revealed quite the opposite. Initially seeing the low resolution image actually made people's brains work harder to make sense of what was in front of them.

I'm not suggesting for one moment that speed index is directly analogous. But there are similarities, and there will be times when seeing a partially completed web page is a lot more frustrating than not seeing one at all. For example, when everything has rendered except the text, which is waiting on a slow-loading font. Or when you can see everything but the login button you need. I don't know, but if I had to wait a very long time, I'd probably favour an empty page and a progress bar over a page that displayed everything except the one thing I needed.

It's not hard to imagine scenarios in which it might just be better to wait until everything is ready to display than to paint every element to the page as soon as we possibly can, just so we can improve the speed index score.

While we can't all afford to carry out the same kind of research that Radware did into progressive JPEGs, it does highlight the value of complementing web performance metrics with usability testing. And the danger of making assumptions about what constitutes a good user experience.