Optimize Your WordPress Website with Autoptimize plugin{Working Config}

Are you looking for how you can optimize your website? How to speed up your WordPress website?

Though loading of a website speed depends on several things. But, there are few elements which should be taken as the priority, like optimization of JavaScript, CSS, HTML, and images as well.

Optimizing WordPress is a key role for any webmaster. And the website should be kept on monitored and rectified.

To make these things simple, we can use Autoptize plugin to compress or minify the Java, CSS and HTML files. This plugin does all the job for you and decreases the website load time. This is the one of the best minification plugin, though it should be well configured.

Note: Optimizing your website doesn’t mean, you have to remove few necessary elements as well. The main motto is to provide the decent user experience.

Autooptize is a simple and powerful plugin to optimize your website.

Before getting into, check out the result from GTMetrix. It compresses the pages and minimizes the requests.

GTMetrix result

Let’s deal with the correct Autoptimize configuration.

Configure Autoptimze Plugin Effectively

Once the Autoptimize WordPress plugin is installed and activated, head over to its settings page from your dashboard.

It comes with the basic default settings which are good enough. Now, the website gets optimized automatically as the plugin will start its work. Check out your live website to check if its working fine.

Though we can explore it further by clicking on the Advanced settings from the right top corner. Once done, you would be able to see few more advanced options to tweak further. Let’s start with the first one.

HTML Options

Autoptimize Settings

You would be able to see only two options here Optimize HTML Code, which will be checked by default. And check the keep HTML comments as well. This will remove the comments from the HTML. Check the screenshot.

JavaScript Options

Plenty of your website features are being developed by using javascript. So it quite obvious lot of script has to load in the back end for your website to appear. And that could be a hindrance to load your site faster.

In this case, optimizing those, all scripts could be essential and fortunately can be done in just a few clicks with the Autoptimize WordPress plugin.

Javascript options autoptimize

Let us take a look at the Javascript all options.

Optimize JavaScript Code: This option will be checked by default after activating the Autoptimize option.

Force Javascript in <head>? : This will, enabling this option will push all the script in the head tag and force those to load first. There would be some difference in loading, but it’s not recommended as it increases the JS render blocking. Which is not good collectively.

Also aggregate inline JS? : Checking this option will optimize your WordPress website as it extracts the whole JS from the HTML. But, it dramatically increases the cache size. So if you are okay to clear the cache on the regular intervals. Check this option to optimize WordPress website for the further.

Or else, keep it unchecked.

Exclude scripts from Autoptimize: There are certain codes which you might not want to get optimized along with the others, so mention those separating with commas as can be seen in the above image.

Add try-catch wrapping? : This is completely an optional one. check this if any of your scripts are not performing due to the .js error. And if you are not sure, checking this won’t affect in any way.

Java scripts are always the biggest in the website slow loading.

CSS Options

CSS Optimize options Autoptimize

Check the first option Optimize CSS Code, to compress all the CSS in your WordPress website. And this will decrease the WordPress site loading time.

Generally, most of the website uses Google Fonts, which looks cool, but dramatically increases the site loading time. And if you don’t want them to load, then check Remove Google Fonts, option.

Aggregate inline CSS, check this option to inline the whole CSS codes,

Inline and Defer CSS? –  Checking this option will inline all the CSS codes which are above the fold,

Incline All CSS? – Checking this option will improve the site performance. But it’s good for only those sites has a fewer visitors.

Autoptimize CDN Options:

CDN Options Autoptimize

If you are using, a third party CDN for your website already, then CDN providers will provide you CDN Base URL. Place it in the required field provided. If you are using Cloudflare CDN, then just leave it blank.

The next option Cache Info, you don’t have to do anything over here. It will show the information of where the cache is getting stored.

Misc Options

Misc Options Autoptimize

Last but not least Misc options, to make the Optimization complete. Let’s take a look at these,

Keep the first option Save aggregated script/CSS as static files checked, if your web hosting doesn’t support the compression at all. If you are not sure of it, check the box, as these days most of the web server able to handle the compressions of the web content.

Check out the detailed result from GTMetrix, after configuring Autoptimze with the above settings.

GTMetrix-questioncage

The whole process will optimize your WordPress website with just a few simple steps. Apart from applying these Autoptimize settings, you should also clean up your database.

Final Words on WordPress Optimization and Autoptimize configuration:

A WordPress website should always to take care of, and thanks to the plugin which makes the job easier. The above process is how you can configure Autoptimize plugin very effectively to make the difference. You will see some prompt result on the site faster loading. Though it will take a few minutes, the settings to work on the back end and compress the data.

Do share it on Social Media, if it helps. Thanks, Happy Optimizing!

  • Hi Navin,
    This plugin looks really good. I am using a different plugin now, but will surely give it a try and optimize my WordPress site.
    Thanks for the share.
    Have a good week ahead.

    • Hey Robin,

      yes, you should definitely give it a go, as optimization of the site is so crucial these days.

      Have a great day ahead!

  • This is always my favourite one. I blend a combination of W3TC and Autoptimize for better performance. Some of the configuration mentioned are updated. Thanks for that.

    – Glen

  • Vishwajeet Kumar says:

    Hello Navin,

    Thanks for sharing Auto Optimize plugin. I am using WP Fastest Cache plugin for my blog and it works great for me. However I will definitely try out the Auto Optimize plugin. Just curious to know how its works?

    • Hi Viswa, Yes WP Fastest too works great. Caching Plugins are all about the way we configure it, though most of the plugin has great features to compress the data and serve it to the audience. And, yes it works great, I use Autoptimize and W3 Total Cache on QuetionCage. Generally, there might be some myths, two caching plugins may conflict each other, but these two serves the best so far. As you can see the Screenshots above with pretty much good SpeedScore and Y Slow score.

      Have a great day ahead!

  • >
    Questioncage

    Subscribe To QuestionCage

    Glad to see your Visit at QuestionCage!

    One more step to connect ahead "Subscribe to Us" and get the updates to your inbox directly.

    You have Successfully Subscribed to QuestionCage!