Page Speed Load Time - Header Code

I don’t know why this works, or if there is an opportunity to improve on it, or if it increases the chances of something going wrong, but I added to the following code to the head of my website:

<link rel="preload" href="/css/style.css" as="style"

onload=“this.rel=‘stylesheet’”>

The first one is to supposed to help differ the CSS and the other came from Google, it apparently bypasses unused Java Script which Bubble.

My got slight increase in my page speed and load time, by adding it. I deleted it and tested it again and my speed went down, so it’s doing something.

Interested to know thoughts and feedback.

5 Likes

Hey, @freehold2018,

Do you mean on the Script/meta tags in header in Settings or on the Page HTML Header on each page?

Thanks in advance :slightly_smiling_face: :computer:

In settings, let me know if it works for you!