Assets Manager

  1. Documentation
  2. Assets Manager
  3. Assets Manager

Description

Assets Manager is a separate plugin and a Clearfy component that disables unused resources on your website pages. For example, you don’t need Contact Form 7 on a home page. In this case, you can simply disable Contact Form 7 on all pages, except for the Contacts page. Or you want to disable a js script of your theme that shows the Scroll UP button on all pages, except for the main page and posts. There are many use cases to mention. But be careful disabling scripts of themes and plugins and blocking plugins on website pages. Keep in mind that it can ruin the appearance and, in some cases, cause errors on pages. We recommend re-checking how the website works after saving the Assets Manager settings.   

Assets Manager has two versions: free and premium. You can download a free version from the WordPress repository. You can also install the Clearfy plugin with the Assets Manager free component from the repository. 

Assets Manager Pro exists only as a form of the Clearfy Premium component. To get Assets Manager Pro, you should purchase Clearfy Premium.

Getting Started

Make sure that you have an active Assets manager plugin 

Assets Manager

Or an active Assets manager component in Clearfy.

Assets Manager

Double-check that you haven’t disabled Assets Manager on your website frontend. 

If you use the Assets Manager plugin, navigate to Setting -> Assets manager -> General

If you use the Assets Manager component in Clearfy, navigate to Settings-> Performance -> Assets Manager.

The Disable Assets manager toddler should be in the OFF position as well as the two features below.

Assets Manager

Go to your website frontend and open the page where you’d like to disable resources on. The wp toolbar (the upper side of the website) in the Assets Manager plugin shows this. Click it.

Assets Manager

For the Assets Manager component in Clearfy, the procedure is a bit different. Find the option shown on the screenshot below:

Assets Manager

Hover over it and click Assets Manager.

Assets Manager

Assets Manager helps to optimize each page on your website frontend. Open the necessary page and Assets Manager on it. The optimization of each page takes time, especially if there are many pages on your website. That’s why we recommend considering bulk rules that apply to all or several groups of pages on the website.

The Assets Manager Interface

Assets Manager Top Bar 

Assets Manager

Total requests – the number of js and CSS script files loaded on the page. Here you see only scripts connected via the WordPress functions, such as wp_enqueue_script(), wp_enqueue_style(), etc. If the script was connected differently, Assets Manager wouldn’t see it.  

 

Total size – the volume of all scripts on the page.

Optimized size shows the volume of all scripts on the page. By default, it is equal to Total size. But if you disable a script on the page, the Optimized size will be less than Total size

In other words, Total size is ‘before’ and Optimized size is ‘after’.

Disabled js shows the number of disabled js scripts.

Disabled css shows the number of disabled styles.

Save saves the settings of the current page.

Reset resets all settings for the page.

Safe mode (PRO) – In test mode, you can experiment with disabling unused scripts safely for your site. The resources that you disabled will be visible only to you (the administrator), and all other users will receive an unoptimized version of the site, until you remove this tick.

Assets Manager

Exit – exit from Assets Manager.

 

left Sidebar

Assets Manager

It’s pretty simple. So let’s talk about Misc. Here you can find some WordPress core scripts and external scripts, such as js libraries connected from cdnjs.com, google fonts, etc.

 

Work Area

Plugins – select the plugin with the resources you’d like to modify. 

Assets Manager

Bulk actions with the plugin resources:

Assets Manager

Custom disabling of the plugin resources:

Assets Manager

Move to Footer – This function will force a script or style from the header to the footer. This can fix problems of blocking page rendering.

When disabling a script, you will see the conditional logic of the process.

Assets Manager

When selecting Don’t load plugin assets or Don’t load plugin, you will see the conditional logic of disabling. 

Assets Manager
When disabling a script, you can also see the dependencies of other scripts. Yes, Assets Manager may not always recognize dependencies, but at least you know about it.

Assets Manager