Home WP Plugins Standard Post

Standard Post

What to do if too many WordPress plugins slow down the site? Use Asset CleanUp to load plugins on demand

Foreign trade websites built with WordPress usually install dozens of plugins with different functions, which can slow down the website. You can use the Asset CleanUp optimization plugin to help speed up the website. Friends doing Google SEO optimization know that website speed is a factor affecting search rankings. Below...

Updated on May 20, 2021 About 4 minutes read
WordPress插件太多速度慢怎么办?使用Asset CleanUp按需加载插件

Foreign trade websites built with WordPress usually install dozens of plugins with different functions, and then the website feels relatively slow. We canuse the optimization plugin Asset CleanUpCome help make the website a little faster.

Google SEO optimizationknow that website speed is a factor affecting search rankings. Below, follow Naiba to use Asset CleanUp to optimize your website's speed.

1. Install Asset CleanUp

The method to install Asset CleanUp is very simple. Just search for Asset CleanUp directly in the WordPress Dashboard and install it.

Asset CleanUp优化插件安装方法

If downloading manually, the plugin address is: https://wordpress.org/plugins/wp-asset-clean-up/

2. After installation, we enable it. We enterPlugin Settings, you need to first read Stripping the „fat”, as shown below:

Stripping the "fat" * rea

At the very bottom of the page, there is a sentence: „I understand how the plugin works and I will make sure to make proper tests (via “Test Mode” if necessary) after the changes I’m making. I’m aware that unloading the wrong CSS/JS files can break the layout and front-end functionality of the pages I’m optimising.”

We need to check the reading option and then save the settings as Update All Settings

for the plugin to work.

For safety, we can also enable Test Mode.

3.If you are using other optimization plugins, then we can directly go to the homepage or article page to streamline resources.

If you are not using other optimization plugins, thencan switch to the following items to set up

  1. Site-Wide Common Unloads: Remove common CSS and JS files like site-wide emojis, comment code, etc.;
  2. HTML Source CleanUp: Clean up HTML tags in the header;
  3. Local Fonts: Local fonts, generally not needed;
  4. Google Fonts: For domestic websites, directly choose "Remove All"; for foreign trade websites, you can merge requests;
  5. Disable XML-RPC: Disable the XML-RPC protocol; if not used, it can be completely disabled.

Asset CleanUp优化设置教程

4. Find any article or page, click Edit, then you will see an additional "Asset CleanUp: CSS & JavaScript Manager" area below the editor.

Asset CleanUp CSS & JavaScript Manager

5. Scroll down the screen to view the JS and CSS files of plugins that do not need to be loaded on the current page, and select "Unload".

Asset CleanUp优化教程

For example, in the screenshot,LuckyWP Table of ContentsThis plugin is used to add categories to articles. On the homepage of Naibabiji, it is obviously not needed, so I chose Unload on this page.

For foreign trade websites, the slider plugin and contact form plugin on the homepage do not need to be loaded on article pages.

After selecting the content to unload, update the article, and the optimization settings are complete.

6. Finally, let's check the optimization effect.

Asset CleanUp优化效果

From the screenshot above, you can see that before optimization, the homepage had 52 requests and 918KB in size.

After optimization, requests were reduced to 37, and page size became 590KB, a reduction of 328KB.

The official recommendation is to use it together withWP Rocketfor better results.

Finally, here is a screenshotGTmetrix's performance score.

gtmetrix跑分截图

Tip: If you go to gtmetrix to test the score of Naibabiji, please choose a Hong Kong server (because I use a domestic server, Hong Kong access is fastest). The score for Use a Content Delivery Network (CDN) is F, because the site did not recognize our CDN (images use CDN, but the site does not; my site is fast enough and doesn't need CDN, so this score can be ignored.)

Finally, Asset CleanUp has a Pro version that can inline JavaScript files, defer loading CSS files, manage CSS and JS files on more directories and pages like categories, etc. Users with strong needs can purchase it; the free version is sufficient for ordinary users.

If you like this article, remember to share it.

2.7/5 - (14 votes)
Previous Is it enough to just set up an enterprise website and leave it there? Do you still need to do SEO? Continue reading content around the same timeline. Next How to Build a Drone Digital Mall Website? Try Drone View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: