We admit there are times we find new plugins and think we know their function – only to find out later what they’re really good for. This is one of them.
It’s just that the plugin author didn’t know how to explain or market the plugin the way we were thinking. They had a clever solution without our real-world problem mentioned. We didn’t recognize the plugin’s potential to solve our problems until later – by accident.
For ages we’ve wanted the ability switch off FontAwesome icon font. We see it as unnecessary baggage many themes include as a feature. In fact, most themes include it any more. Sometimes, this 70k+ file is added to page weight just to make a single icon – like the magnifying glass in the search field, or perhaps the hamburger icon for a mobile menu. What a waste!
We learned we could “de-enqueue” that icon-non-feature in the WordPress functions.php file. But this always proved tedious or broke things. We wanted a faster, safer way to test. We asked our local WordPress meetup if they knew of a plugin that would remove FontAwesome painlessly. No one had any clue.
We found the answer while testing for plugins to remove the annoying Google PageSpeed error message:
We found “Asset Queue Manager” plugin. It doesn’t really help much with solving that Google PageSpeed error message. But what a gem, once we understood what it could really do. Not only can we de-enqueue FontAwesome, we can get rid of Google fonts and other heavy assets like unused sliders that have universal page loads.
Asset Queue Manager
101k compressed, 1,000 installs.
Description: A tool for experienced frontend performance engineers to take control over the scripts and styles enqueued on their site.
Hey! We are frontend performance engineers! But that name threw us. It didn’t say, “FontAwesome Remover plugin.”
The word “experienced” in the description is scary. But the damage done by novices can be quickly undone with some safety features the authors built-in.
Once the plugin is activated, browse to any page on the front of your site. An Assets link will appear on the top right of the WordPress admin bar. Click that to view and manage all assets globally.
The plugin author explains he put it on the front because the assets only get enqueued on the frontend, so the plugin doesn’t really know anything on the backend. That’s why he decided to only show the link on the frontend. But many people don’t understand this link location. It’s not in the admin dashboard. It dequeues assets globabally – not per page.
What if I dequeued jQuery (or something I shouldn’t have) and now my site is broken. Go to the list of plugins in your admin panel. Find the Asset Queue Manager and click the “Restore Dequeued Assets” link. Nice and easy.
What a beautiful misunderstood plugin with a lot of hidden speed potential.
Oh, and it’s weightless and free. Perfect.
Mobile WordPress Speed – without coding!