This content originally appeared on phpied.com and was authored by Stoyan
Adam Fendrych reported that Scott Jehl said in his Web Expo talk that a website should load before you can say "Cumulative Layout Shift".
What does that mean in practice?
We're web performance specialists here, we work with measurements and numbers, so we need a more exact number. Numbers reduce ambiguity. To find out that number we need to run the `say` command on a Unix/Mac computer and time the output file.
$ say -o cls.aiff "Cumulative Layout Shift"
Now we open the audio file in music editing software (I'm using Reaper) and observe the timing.
One immutable magic number to rule them all
And here we have the answer. A website should load in 1.722 seconds or less. Whatever load means, it's up to you. But yeah, go make it happen!
A website should load before you can say "Cumulative Layout Shift", in other words in 1.722 seconds or less.
This content originally appeared on phpied.com and was authored by Stoyan
Stoyan | Sciencx (2023-04-21T21:59:55+00:00) Jehl’s Law of Web Performance. Retrieved from https://www.scien.cx/2023/04/21/jehls-law-of-web-performance/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.