diff --git a/_posts/2023-07-01-in-defence-of-domcontentloaded.md b/_posts/2023-07-01-in-defence-of-domcontentloaded.md index 63254c4c..d2e9e00d 100644 --- a/_posts/2023-07-01-in-defence-of-domcontentloaded.md +++ b/_posts/2023-07-01-in-defence-of-domcontentloaded.md @@ -35,6 +35,15 @@ experience your site. Sure, if you have `Load` times of 18 seconds, your site probably isn’t very fast, but a good `Load` time doesn’t mean your site is necessarily very fast, either. +
+ +
Which do you think provides the better user experience?
+
+ +In the comparison above, which do you think provides the better user experience? +I’m willing to bet you’d all say B, right? Based on `DOMContentLoaded`, A is +11.292s faster! + `Load` and `DOMContentLoaded` are internal browser events—your users have no idea what a `Load` time even is. I bet half of your colleagues don’t either. As metrics themselves, they have little to no reflection on the real user diff --git a/wp-content/uploads/2023/06/dcl.gif b/wp-content/uploads/2023/06/dcl.gif new file mode 100644 index 00000000..9695400c Binary files /dev/null and b/wp-content/uploads/2023/06/dcl.gif differ