You can setup “Autoptimize” using two methods one is simple and another is advanced.
Go to wp-admin >> Settings >> Autoptimize.
Then click on “Show advanced settings” button.
Enjoy! if you have questions you can contact us.