I need help to improve the way resources (mainly JavaScript) are loaded
-
Hello,
I’m trying to optimize the loading speed for my website and I reach a point where I no longer know what to do.
Ok, so this is my GMetrics Waterfall Chart:
https://pasteboard.co/JX6Ym09.pngFor my first question, please check what is highlighted in red.
Why there’s that pause between the requests? Just after the last image within the viewport is loaded the next request doesn’t start immediently. They are 4 requests of 4 different JavaScripts file of Elementor-Pro plugin. They start so late and that affects my LCP and Total Loading Time. I don’t get it. There’s absolutely nothing between these two requests so why these 4 JS files are not called immediately after the previous request is done? Or why they are called so late?
Does anyone know anything about this? Or how to debug it to figure out what’s wrong?
My second question is about site.webmanifest and favicon requests.
Is there a way to optimize them? As you can see the site.webmanifest takes pretty long to load compared to the rest of the requests. That would be an issue. The next one is why both site.webmanifest and favicon requests are called the last? Because of this my site takes longer to fully load because the requests are called late.
So what can I do to optimize the loading time of site.webmanifest and how can I call both requests faster?
My last question is why there’s that blocking time for the jQuery, lazyload.js and WP-Rocket Minified Javascript requests displayed on the Waterfall?
Any hint is very appreciated
Thank you
- The topic ‘I need help to improve the way resources (mainly JavaScript) are loaded’ is closed to new replies.