Skip to content

Best Autoptimize Plugin Settings For WordPress In 2022

Today I am going to show you the best autoptimize WordPress plugin settings. There is many caching and optimization plugins available in the WordPress plugin directory. But this is which I used on many websites with combination WP Fastest cache.

Autoptimize the best configuration for WordPress to get better performance in page speed tools like GtmetrixGoogle Pagespeed Insights and Pingdom.

For a better performance test please take screenshots before and after then you will notice how much this setting works with your WordPress site.

Best Autoptimize Plugin Settings 

Install and Activate the Autoptimize

Go to plugin and search “Autoptimize” click on install button once install click on activate button.

JS, CSS & HTML Settings

Optimize Javascript Code – Enable
Aggregate JS files? – Enable
Also aggregate inline JS? – This can improve my page performance but the reason I cannot enable this is that this stops my popup to display. You can check this setting by enabling or disabling the feature.
Force JavaScript in? – Disable Exclude scripts from Autoptimize – Leave as it is.
Add try-catch wrapping – Disable

CSS Options

Optimize CSS code – Enable

Aggregate CSS files – Enable

Also aggregate Inline CSS – Enable

Generate data: URLs for images – Disable

Inline and Defer CSS – Disable

Inline all CSS – Disable

Exclude CSS from Autoptimize – Leave as it is

Caching Options

Optimize HTML code– Enable

Keep HTML comments – Disable

CDN base URL – Leave this blank if you are using Cloudflare otherwise enter your CDN root URL to enable CDN for autoptimized files.

Cache Info – In this section, you will find your cache folder, cached styles & scripts.

Misc Options

Save aggregated script/CSS as static files – Enable

Minify excluded CSS & JS files – Enable

Experimental: Enable 404 fallbacks – Enable

Also, optimize for logged-in editors/administrators – Enable

Save changes and now click on Images from the top.