What Is ALPN?
A quick description about ALPN.
Speed Index is a web performance metric invented by WebPageTest developers in 2012, and measures how quickly visual content is displayed as a website page loads. As speed index is actually measuring what an end user sees in their browser, it is a much better indicator of user perceived performance that metrics like the dom load or page load event.
As the website being measured is loaded, a series of screen shots are taken as content is loaded. Each screen shot is then scored for visual completeness 'above the fold' using the following formula:
Interval time * (1 - visual completeness/100)
The score for each frame is calculated until all content is displayed and then all the scores are added to give you the speed index, the lower the score the better.
Here's an example with a 500ms interval:
1. | 500 * (1 - 0/100) | = 500 |
2. | 500 * (1 - 0/100) | = 500 |
3. | 500 * (1 - 5/100) | = 475 |
4. | 500 * (1 - 20/100) | = 400 |
5. | 500 * (1 - 30/100) | = 350 |
6. | 500 * (1 - 100/100) | = 0 |
Now adding them all up:
500 + 500 + 475 + 400 + 350 + 0 = 2225
If a site has content above the fold that is changing after loading, eg a hero carousel, or a marketing pop up, then the calculated speed index can be artificially high.
For a full technical overview of speed index please check out the official documentation.
A quick description about ALPN.
An explanation of blocking resources on websites.
Just how much of the internet's traffic is generated by bots?
An explanation of the types of bots on the internet that visit websites and APIs.
An overview of the different types of browser hints and how they help with website performance
An overview of the cache control header sent by websites.
© PEAKHOUR.IO PTY LTD 2025 ABN 76 619 930 826 All rights reserved.