WP Emoji not covered in optimization
-
Autoptomize covers most of my local JS files for optimization, but not WP:s scripts for emojis: wp-emoji.js and twemoji.js.
Unfortunately the site I’m working on still needs emojis so I can’t deactivate the scripts.
Is there away to maybe dequeue and enqueue them again so the plugin picks them up?Another issue if I’m still loading jQuery locally and add jquery.js and jquery-min.js to the excluded scripts in Autoptimize settings, this also excludes the JS file layerslider.kreaturamedia.jquery.js from LayerSlider since it has a similar name. The issue goes away if I select “Use Google CDN version of jQuery” in LayerSlider settings, but since there are split opinions for loading WP jQuery with CDN it would be great to be able to avoid this.
Is it possible to add a feature for the plugin which excludes only the exact JS file name if you put it in quotes or something like that?
- The topic ‘WP Emoji not covered in optimization’ is closed to new replies.