Menu

I Followed the Textbook Fix for PageSpeed and My Site Got Slower
📰

I Followed the Textbook Fix for PageSpeed and My Site Got Slower

#hackernoon#technology#fonts#font#contentful
Reading 0:00
15s threshold

I wanted a perfect mobile PageSpeed score for my side project, a free game backlog tracker. It started at 86. Within an hour, it was 77. By the end of the afternoon, it was 99. Here is the part of that story that taught me something.

The advice everyone gives

My report listed “render-blocking requests” with an estimated saving of 840 ms. The biggest blocker was the Google Fonts stylesheet. Every performance article gives the same answer: load it asynchronously.

<link rel="stylesheet" href="..." media="print" onload="this.media='all'">

I applied it, rebuilt, ran the test again. The score fell from 86 to 77. First Contentful Paint did not improve. Cumulative Layout Shift went from 0.001 to 0.131.

The fonts now arrived after the first paint, text rendered in a fallback font, then jumped when the real font loaded.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.