How to Configure the Settings for Autoptimize
The next step in our guide to the Autoptimize WordPress Plugin is to configure the minification and concatenation settings to add some serious speed to your site.
Step 1) Login to the WordPress Dashboard.
Step 2) To find the settings for Autoptimize, head to the Dashboard and scroll down to Settings on the left-hand sidebar.
Step 3) On the dropdown menu for Settings, you will see Autoptimize. Click on this to be taken to the settings for the plugin.
Step 4) On the Autoptimize Settings page, you can click on a button that will show the Advanced Settings for the plugin. Whilst you do not NEED to do this if you are not 100% confident, we will take you through the options here for the sake of all users.
Step 5) The HTML Options allow you to optimise the HTML code and keep HTML options. If you tick both of these boxes, you HTML code will be dramatically condensed and your site will be more lightweight as a result, enabling it to run faster.
Step 7) In the CSS Options area uou can optimise your CSS code so that your site runs faster here, as well as optimising images in the CSS feed so that more space is made as a result of not having images as seperate downloads. You can also inline your CSS so that pages load faster, which is great for smaller sites, but can actually slow down sites that have a lot of traffic. There is also the option to exclude certain CSS code from the plugin.
Step 8) The CDN (Content Delivery Network) is the system of servers that keep your site working at its highest possible standard. By entering the CDN blog root directory URL in the CDN options, Autoptimize-generated files (i.e. aggregated CSS and JS), including background-images in the CSS, will be forced onto the CDN if you add the CDN base URL in the box. This again can help make your site run faster by saving space.
Step 9) The Cache Info can be changed so that Autoptimizer can write to the cache and save styles and scripts to the cache so that the condensed files are saved and can therefore make your site run faster. You can save your changes and empty the cache at any time.
This concludes our guide of the Autoptimize plugin.