What does “Optimize JavaScript Code?” do?

Hi, I am very confused. Usually caching and minimizing, defering, etc. plugins break websites, but Autoptimize somehow fixed it..? 🙂

Basically there is a website, it has Autoptimize + only setting on is “Optimize JavaScript Code?”. What does this setting do?

I am trying to figure out what did it do to website .js files so that those magically started to work. Caching doesn’t seem like what’s happening. Is Autoptimize somehow changing .js load order? Minifying everything? Something else? I can’t see anything obvious in browser Inspect window. Could you maybe direct me to a plugin file that is responsible for this setting so I could just poke around and figure out it? 😀


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here