Why your site slowed down after the last plugin update

Nothing is broken, so nothing warns you. Here is how to find which plugin did it, and what to fix first.

Short answer: the update gave every page more to do. More code to download, more questions for the database, or a new call to someone else’s server.

It’s rarely one big mistake. A plugin adds a feature you didn’t ask for, and that feature loads on every page whether you use it or not. Nothing is broken, so nothing warns you. The site just feels heavier.

What an update can add

  • Scripts. A new slider, a chat bubble, an analytics module. JavaScript is the expensive kind of weight. The browser has to download it, read it and run it before the page responds to a tap.
  • Styles. A new stylesheet in the head holds up the page until it arrives. Plenty of plugins load theirs on pages that don’t use the feature.
  • Queries. A new lookup on every request. WordPress also loads every autoloaded option on every page view, so one large option slows the whole site, wp-admin included.
  • Outside calls. Fonts, tracking, a license check, a map. Each one is a server you don’t control. Your page can end up waiting on its worst day.

Any one of these is small. They stack, and one update can add all four.

Measure before you guess

Don’t start by turning plugins off. Start with numbers, so you know what changed and whether your fix worked.

Lighthouse, for the symptom

Lighthouse is in Chrome’s DevTools and behind PageSpeed Insights. It loads your page on a simulated phone and lists what cost the most. The score moves a little from run to run, so run it three times and read the list under the score. That list is where the answer is.

Core Web Vitals, for real visitors

PageSpeed Insights shows these at the top when your site has enough traffic. Google judges each one at the 75th percentile of visits, so three out of four need to pass.

MeasureWhat it isGood
LCPHow long the main content takes to show2.5 seconds or less
INPHow long the page takes to answer a tap or key200 milliseconds or less
CLSHow much the page jumps while it loads0.1 or less

A normal Lighthouse run can’t measure INP, because nobody taps during the test. It gives you Total Blocking Time instead. That’s the number to watch after an update that added scripts.

Query Monitor, for the name

Query Monitor is a free plugin. It groups database queries by the plugin that made them, and lists outside calls with their timing and every script and stylesheet on the page. Lighthouse tells you the page is slow. Query Monitor tells you who did it.

What to fix first

Work in this order. The early steps cost the least.

  1. Read the changelog. It usually names the new feature. If there’s a setting, turn off what you don’t use.
  2. Load files only where they’re used. A form plugin’s script belongs on the page with the form. A few lines in the theme can remove it everywhere else.
  3. Defer what’s left. Since WordPress 6.3, a script can be registered with a defer or async strategy, so it stops holding up the page.
  4. Cut or host the outside calls. Host fonts yourself. Load the map or chat only when someone asks for it.
  5. Check autoloaded options. Site Health flags a site whose autoloaded options pass 800 KB. If a plugin pushed you over, clean that up.
  6. Replace the plugin. If it costs more than the feature is worth, a smaller plugin or a native block usually does the job.

Then measure again. Same page, same tool, three runs. If the number didn’t move, undo the change and try the next one.

A short script for step two

This removes a plugin’s files everywhere except one page. Query Monitor shows you the handles to use. Put it in a small plugin or your theme, and test the page that needs the files.

add_action( 'wp_enqueue_scripts', function () {
	if ( is_page( 'contact' ) ) {
		return;
	}
	wp_dequeue_script( 'plugin-script-handle' );
	wp_dequeue_style( 'plugin-style-handle' );
}, 100 );

How to stop it happening again

Slowdowns ship when updates go straight to the live site and nobody measures. The routine is short:

  1. Take a backup you know how to restore.
  2. Run Lighthouse on the homepage and one inner page. Save the numbers.
  3. Read the changelog.
  4. Update on staging, if you have it.
  5. Run Lighthouse again. Compare Total Blocking Time and LCP first.
  6. Open Query Monitor and look for new queries and new outside calls.

Write the numbers down each time. A slow drift over five updates is hard to feel and easy to see in a list. Caught in the week it happens, the fix is usually one setting. Six months later it’s five plugins deep and nobody remembers which update did it.

If your site got slower and you can’t tell why, send me the address. I’ll run the numbers and tell you what I find.

Sunny Morgan

Sunny has built websites since 1999, from Hawaiʻi and North Carolina. He designs, builds and cares for WordPress sites for towns, schools, hospitals, makers and the agencies who design for them. You work with him directly.

Let’s talk.

Send me your site and what you need. You’ll get a plain answer.

hello@sunnymorgan.com

Hawaiʻi 808.634.5440North Carolina 828.414.8090