How To Optimize JavaScript In WordPress With Clearfy

  1. Documentation
  2. Performance
  3. How To Optimize JavaScript In WordPress With Clearfy

Why Should You Optimize JavaScript?

One of the most important steps for fast websites is reducing the number of HTTP requests. You can do so by combining several scripts in one. This is super useful if you have many plugins on a website. After you install any plugin, JS scripts are flooding your website pages, even where they are not needed. Thus, extra requests are sent to the server, and the website lags. If PageSpeed Insights shows the problem with low page speed, then you definitely need to optimize JavaScript in WordPress.

Optimize JavaScript In WordPress With A Plugin

Use Clearfy

Clearfy is a great way to optimize JavaScript in WordPress. More than 50,000 website owners use it. Many of them think that Clearfy is a perfect optimization tool. The optimizer combines .js and in-built (<script>) files. You can also compress HTML pages by removing line breaks and extra spaces. Here’s a quick guide on how to speed up your website. First of all, download and install Clearfy.

Step-by-step Guide

Go to the admin area. Click Settings => Clearfy menu => Performance (left side menu) => Minify (HTML/JS/CSS» (the first tab).

How To Optimize JavaScript In WordPress With Clearfy

Optimize JavaScript in WordPress by activating the Optimize JavaScript code feature. Then you’ll see detailed settings. You can optimize all features in bulk or individually. Click ON to activate the feature.

How To Optimize JavaScript In WordPress With Clearfy

You can select and activate only those features you really need. The good thing is that once hovered, each option shows a tooltip.

If disabling any script causes the website failure, roll back to the previous state. Press OFF next to the option you’ve used to optimize JavaScript in WordPress.

Conclusion

The lesser the number of HTTP requests is – the higher website speed. In this article, we’ve shown you how to optimize JavaScript in WordPress using Clearfy. This optimization plugin combines .js files and in-built scripts and compresses HTML pages by removing line breaks and extra spaces.

Scroll to Top