Perfmatters: Love it or Leave it

I have been playing a little with the code snippets plugins and the elements section from GeneratePress.

I was thinking if it was possible for me to use code snippets to take care of some of the stuff that PerfMatters.

Don’t get me wrong, Perfmatters is a great plugin and I recommend using it if you don’t want to complicate yourself testing if code snippets for this and that still work or if the code snippets don’t conflict with existing plugins, theme or the WordPress core.

Take into account, that my sites are simple so I wasn’t using everything Perfmatters brings to the table in terms of speed optimizations.

Take into account that the Perfmatters team keeps adding feature to make WordPress speed sites faster.

These are my notes trying to figure out if I really need PerfMatters.

My WordPress Stack

My wordpress stack is kind of simple, I have only 8 plugins

#1Ad Inserter Pro
#3Code Snippets
#5GP Premium
#8Table of Contents Plus

These are my thoughts about each one of plugins that I use:

  • Ad Inserter Pro add some scripts and styles but they are all necessary if I want to monetize my WordPress site the right way.
  • CloudFlare is installed because I don’t want to go to the CF panel to clear cache every time I modify a page
  • Code Snippets gives me the chance to add scripts, styles and custom php so I don’t have to modify the theme files
  • GenerateBlocks has only 6 blocks but all the CSS is inlined so I don’t have to worry about optimizing a file.
  • GP Premium is something I have to keep using because of the “Elements”, “The Blog and “The Spacing”.
  • Perfmatters can or can’t add scripts to your site. it is up to what you want to do with it
  • SEOPress doesn’t add any requests to your WordPress site
  • Table of Contents Plus is the best TOC plugins at this point. I dequeued the scripts cause I don’t use the toggle functionality and I purified the CSS a bit.

PerfMatters Sections

Perfmatters is divided into 7 major sections

#4Lazy Loading

Perfmatters: General (1)

This is the part that requires a bunch of code snippets to do what PerfMatters does

I found lots of the code snippets to disable and remove some of the unnecessary stuff that WordPress adds to sites.

I will be writing individual posts for each one of those tiny optimizations

Perfmatters: Fonts (2)

The script manager is really useful, if you don’t have PerfMatters, you can dequeue styles and scripts using code.

I dequeued GeneratePress styles and Scripts that I am not using at all.

I don’t have scripts to defer or delay and I removed the unused block library CSS manually.

Perfmatters: Fonts (3)

I am not preloading, preconnecting or prefetching anything and I don’t feel like using InstaPage.

Instapage will load links before visitors click on them.

Perfmatters: Fonts (4)

There have been periods of time in which I haven’t lazy loaded Images, Iframes, Videos because I add those way below the fold if I have or need to add one.

The YouTube Preview Thumbnails is gold.

If you don’t have PerfMatters, you can use the LazyLoad Plugin – Lazy Load Images, Videos, and Iframes to handle the lazy loading.

Not sure which plugin does it better.

Perfmatters: Fonts (5)

I don’t use Google Fonts, I use the systems fonts so I don’t have to deal with the speed problems Google fonts bring.

If you use Google Fonts, this section will come in handy.

Perfmatters: CDN (6)

I am using CloudFlare for all things CDN so I don’t use anything from this section.

Some users might need it but I don’t .

Perfmatters: Analytics (7)

There are several options that you can play with in this section.

If you don’t have PerfMatters, you can use this script to reduce the impact of Google Analytics on your site.

You can add the script to the footer using Elements from GeneratePress

Final Thougths

I ended up uninstalling Perfmatters from one of my sites to see what happens.

If I keep thinking about after this breakup, I am gonna install it again.

I didn’t find a substitute for everything Perfmatter does because:

  • I might not need that functionality.
  • The functionality wasn’t a game changer.

The speed was still good so I have no complains.

More about WordPress Speed

I hope that you have found this guide useful

These are other posts that you might want to check out:

  1. How to Optimize GeneratePress for Core Web Vitals [100% Solved]
  2. How to Lazy Load Ads
  3. How to Preload Links in WordPress
  4. How to Optimize Table of Contents Plus for Speed
  5. How to Use Flying Scripts to Speed up Your WordPress Site
  6. How to Use CloudFlare Full Page Caching With WordPress
  7. Optimizing WordPress Sites with Autoptimize


Sobre Jose manuel

I am José Manuel. I started a WordPress blog in 2011 as a hobby to use it a part of my teaching and I fell in love with blogging & WordPress.

I am writing about things I know and things that I am learning. I hope you find some of the things I write useful.

WPS covers information about hosting, security, speed, SEO and monetization for WordPress sites


You can ask questions via Facebook or Twitter