It looks like my only image on my home page is my SVG logo, so I’m a little mystified why I’m still all the way down at 91 on mobile and 95 on desktop.
Does anyone here at Dev have any ideas for how I could get my “first contentful paint” even snappier without too much effort and without sacrificing things like "cumulative layout shift"?
I used to have a file called
scripts.txt that I injected into the
<head></head> of my site.
I split it into two files:
- I left
<head></head>. Maybe it doesn’t need to live there, but I didn’t want to take a lot of time to debug.
- I moved
scripts_external.txtto live as the last piece of HTML injected into the
<body></body>of my web site.
Moral of the story: don’t just read the textbook on web site optimization – do your homework too!
(How many times had I read to do this one little thing before I actually did it?)