autoptimize wordpress plugin tutorial

Autoptimize WordPress plugin tutorial: How to use it?

Autoptimize is the best plugin for optimizing a WordPress site. It increases the speed of your website. We are able to achieve 93% score in GTmetrix using this plugin. Here is Autoptimize WordPress plugin tutorial.

What is Autoptimize?

Autoptimize makes optimizing your site really easy. It can aggregate, minify and cache scripts and styles, injects CSS in the page head by default but can also inline critical CSS and defer the aggregated full CSS, moves and defers scripts to the footer and minifies HTML. You can optimize (and even convert to WebP) and lazy-load images, optimize Google Fonts, async non-aggregated JavaScript, remove WordPress core emoji cruft and more. As such it can improve your site’s performance even when already on HTTP/2! There is extensive API available to enable you to tailor Autoptimize to each and every site’s specific needs.

If you consider performance important, you really should use one of the many caching plugins to do page caching.

Autoptimize WordPress plugin tutorial

Let’s discuss how you can use this plugin for optimization.

Install the plugin

1. Login to your admin.
2. Click on Plugins-> Add new -> Search for Autoptimize.
3. Click on Install-> Activate.

Optimize HTML, JavaScript and CSS Codes

We will show you the basic settings.

Optimizing the HTML Code

In order to minify all the HTML code in your website, tick the first box, “optimize HTML code”.
This will remove all of the white spaces in between the HTML codes, which can ultimately help in reducing the file size of your website. It may break your site or theme. So be careful. Backup everything before you do.

Now, Optimizing the CSS Code

Tick option optimize css code. Also tick the aggregate CSS files including the inline ones. We have already said backup everything.

Optimizing the Javascript

Javascripts take a lot of time to load. So, ensure you aggregate them. See the settings below.

Last step

Click on save changes and empty cache.


That’s all for today. If you need any help optimizing your WordPress website, contact us. If you need a highly customized website, buy our service.

Review Date
Reviewed Item
WordPress Plugin
Author Rating
Software Name
Software Name
PHP, Javascript
Software Category
WordPress Plugin

Leave a Comment

Your email address will not be published. Required fields are marked *