🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

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

Foreign trade websites built with WordPress often have dozens of plugins with different functions installed, which can make the site feel slow. We canuse the optimization plugin Asset CleanUpto help make the website a bit faster. ForGoogle SEO OptimizationFriends all know that website speed is a factor affecting search rankings. Below, follow Naibabiji to use Asset CleanUp to optimize your website's speed.1. Install Asset CleanUpThe method to install Asset CleanUp is very simple. Just search for Asset CleanUp directly in the WordPress Admin 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 activate it.. We enterPlugin Settings, we need to first read "Stripping the "fat"", as shown in the image below:Stripping the "fat" * reaAt the very bottom of the page, there is a statement: '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 option to read it and then save the settings by clicking 'Update All Settings' for the plugin to work. For safety, we can also enable the 'Test Mode' at the same time.3.If you are using other optimization plugins, then we can directly go to the homepage or Post page to streamline resources. If you are not using other optimization plugins, thenyou can switch to the following items to set them 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 select "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 Post or Page and 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 a table of contents to Posts. It is clearly not needed on the Naibabiji homepage, so I selected "Unload on this page". For a Foreign Trade Independent Website, the homepage slider plugin, contact form plugin, etc., can be unloaded on Post pages. After selecting the content to unload, update the Post, and the optimization function is set.6. Finally, let's check the optimization effect. Asset CleanUp优化效果From the screenshot above, it can be seen that before optimization, the website homepage had 52 requests and was 918kb in size. After optimization, requests were reduced to 37, and the page size became 590kb, a reduction of 328k. The official recommendation is to use it in conjunction withWP Rocketfor better results. Finally, here is agtmetrixperformance score screenshot.gtmetrix跑分截图Note: If you go to GTmetrix to test the score of Naibabiji, please select a Hong Kong server (because my server is domestic, Hong Kong access is the fastest). The score for "Use a Content Delivery Network (CDN)" is F. That's because the website did not recognize the CDN used by this site (images use CDN, the website does not. My website speed is fast enough, so I don't need a CDN. Therefore, this score can be ignored.) Finally, Asset CleanUp has a Pro version. The Pro version can inline JavaScript files, defer loading of CSS files, manage CSS and JS files on more directories and pages like categories, etc. Users with strong needs can purchase it. For ordinary users, the free version is sufficient. If you like this article, remember to share it.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow