Best Autoptimize Settings Speed up Your WordPress Website

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 a 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 at regular intervals. Check this option to optimize the WordPress website further. Or else, keep it unchecked.
  • Exclude scripts from Autoptimize: There are certain codes that 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 you in any way.

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

CSS Options

css 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 the 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 site performance. But it’s good for only those sites to have 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 webserver able to handle the compressions of the web content.

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

getmetrix pagespeed score

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 the Autoptimize plugin very effectively to make the difference. You will see some prompt results on the site’s faster loading.

Though it will take a few minutes, the settings to work on the back end and compress the data.

What others are reading!
Authored by Navin Rao

A blogger and with a go-getter attitude Navin is a web geek and loves to write about WordPress. Able to guide even a non-techie to maintain a WordPress website through his walkthrough tutorials on WordPress.

Enough right? Let's join hands on Facebook and Twitter

10 thoughts on “Best Autoptimize Settings Speed up Your WordPress Website”

  1. 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 Cache 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 QuestionCage. 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!

  2. 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

    • 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!

    • WP Rocket is a premium plugin with loads of extra features to optimize a WordPress website. We do use WP Rocket on this site right now. But, if you want to optimize the site with free plugin, the above settings works well.


Leave a Comment