Performance Issue: Multiple Loading of JS and CSS Files

[ad_1]

it seems like *something* (the theme? a plugin?) is preloading a lot of files. preloading is typically done to force the browser to load certain files sooner and can help performance when done right. when preloading too many files or when preloading files that are not used later on, it can in fact also harm performance.

my advice; typically browsers are very smart in determining which file is needed when, so only preload if you *know* browsers load specific files too late. a good example can be a “hero image” which is set as a CSS background image or a font-file defined in CSS, as browsers discover those late.

hope this helps,
frank

Thank you Frank this help for me. But I need to know the same file name if we search in view source there, one is inside <link> or <a> tag one is inside the <noscript></noscript>. I want to know if this is effecting my website speed. Because same file lording twice. Why is that?

Thank you.
Lihini

the noscript-ones are not loaded unless you’re using a browser that does not have javascript, so these do not impact loading speed 🙂

but if I were you I would;
1. do a performance test on e.g. https://webpagetest.org
2. disable those preloads
3. do a second test and compare results with the first one

based on that you can determine if the preloads are improving your sites performance? 🙂

Thank you for your quick reply.

you’re welcome, feel free to leave a review of the plugin and support here! 🙂

frank

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer