plugin resources are loading on the pages where functionality is not used

[ad_1]

Hi

I can see that plugin resources (JS scripts) are loading on the pages where plugin functionality is not required. At the moment, I only need functionality at the cart/checkout pages, however I see main page loads NoticesPlugin JS, for example. This slows down the site. Is there any options I can set to only load plugin resources on checkout pages? I can do it in the code (unload the script for all pages except checkout) , but would prefer functionality inside the plugin itself

Not only unnecessary resources are loaded, but they are also loaded in the header of the website! What is so important in those JS files so they have to be executed before site is rendered???

  • This topic was modified 1 hour, 14 minutes ago by rudolfl.

 

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