I am about start building my landing page with pagefly and I’m hosting it on the Dawn theme since its free and it’s pretty fast.
My only problem is that I tested the speed before even starting to build my website and according to Google lighthouse I am already losing between 0.5 and 1.5 seconds due to “render blocking resources” .
Everything is default, no apps, no Google fonts, no images, etc…
Is it possible to solve this? Or is it something that just comes with the Dawn theme and there is no way to deal with it?
This is the source that causes the problem according to Google.
https://cdn.shopify.com/s/files/1/0611/7598/8451/t/16/assets/global.js?v=16156761432472865362
Hi @Balazs98 ,
The most common render-blocking resources are JavaScript and CSS files that are located at the head of your web page. They load in the above-the-fold area (or the area that you normally see on a website before scrolling down to see the rest of the content) and they are a part of the critical rendering path used by a web browser.
Because a browser doesn’t know if or how your CSS or JavaScript file will impact the rest of the page, the browser stops rendering until it fully downloads and applies the files.
This process doesn’t happen in the background.
The browser loads one file at a time before moving on to the next one and eventually loading your website’s body content.
Since rendering pauses while the browser downloads and applies these files, these scripts and stylesheets are “render-blocking resources.”
There are two coding options you can use for dealing with render-block scripts:
Async. Using this option tells the browser to continue parsing the page while the file downloads. Once the file is downloaded, the browser will stop parsing and execute the script.
Defer. With this option, you’re instructing the browser to download the JavaScript file in the background and only execute and apply it after the rest of the page renders.
Share your store Url, So I will check your speed and let you know the points.
Share your store URL, So that I can see the issues regarding score performance.
1 Like