Removing Genericon font for reduced page weight.

WordPress Mobile Speed

Updated: July 2019


There are no affiliate links on PagePipe.

Genericons are vector icons embedded in a webfont designed for aesthetics and signage. But what if you don’t use them. Then they are dead weight.

The WordPress Genericon font adds several HTTP calls and about 60k of page weight. On a Twenty-fifteen theme based website we were building, this was half the Home page weight. We felt compelled to get rid of it. Especially since not a single Genericon symbol was on the website. Bloat!

We wish there existed a Remove Genericons plugin to remedy this problem. None exists – yet. But you can fixed it with some crude surgery. Do two things:

1. Via Cpanel or FTP, delete the contents of the “genericons” folder found in yourwebsitefoldername > wp-content > themes > twentyfifteen > genericons

Open that folder and erase every file and folder. That’s right! Delete them all. You now have an empty genericons folder. Removing the genericon files off your server will save almost 50k of load time. But there is one more thing to do:

2. Since the Genericon files no longer exist, when WordPress requests the information, it produces a single 404 error. That causes a delay and about 12k of unnecessary page weight. To eliminate this badness, open the “Theme Functions (functions.php)” with the Appearance > Editor. Remove the four references to Genericons. Save the file. You’re done.

You can benchmark before-and-after changes using Yslow for Google chrome or go to WebPageTest.org.

A even better way for Genericon removal is using Asset Queue Manager plugin. Read about it.

Godspeed—

Steve Teare
performance engineer

Mobile WordPress Speed – without coding!

BONUS OFFER
for WooCommerce professionals only

PagePipe invites you to steal this $9.95 performance ebook, WooComa.

Free for a limited time. Signup required.
What you get:
13-page ebook,
9 unconventional WooCommerce speed tips.

+2776.3 milliseconds potential speed improvement per Woo page. GET IT NOW

Free same-day shipping to your email in-box. No purchase or credit card required.

Other Related Resources

If you’re new here, start with our best primer speed articles.

If you’re ready to give your WordPress site wings, here are powerful tools to speed up your site.

Learn how the most popular plugins and ideas waste your time – and hurt web speed. Includes important tips for mobile speed without coding.

Build with Empathy
GIVE SPEED