Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14038

Frank Goossens on "[Plugin: Autoptimize] Javascript still has comments"

$
0
0

There is not, JSmin (which is the js minifier used in AO) always preservers comments that start with "/*!" which usually contain license information.

Now if you're into coding, you could use Autoptimize API's "autoptimize_js_after_minify" filter to go over the JS after minification and remove those "protected comments" yourself. Don't expect big performance gains from that though ;-)

hope this helps,
frank


Viewing all articles
Browse latest Browse all 14038

Trending Articles