Skip to content

Commit

Permalink
Add DCL gif
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jul 3, 2023
1 parent 9c43ca5 commit adfce8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _posts/2023-07-01-in-defence-of-domcontentloaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<figure>
<img src="/wp-content/uploads/2023/06/dcl.gif" alt="" width="904" height="680">
<figcaption>Which do you think provides the better user experience?</figcaption>
</figure>

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
Expand Down
Binary file added wp-content/uploads/2023/06/dcl.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit adfce8a

Please sign in to comment.