DEV Community

WP Multitool
WP Multitool

Posted on • Originally published at makewpfast.com

WordPress Autoload: The Hidden Performance Killer

Originally published at https://makewpfast.com/wordpress-autoload-the-hidden-performance-killer/

Every single page load on your WordPress site triggers a query to load all autoloaded options from the wp_options table. On a fresh install, this is a few kilobytes. On a site with 50+ plugins installed over the years? It can balloon to megabytes of data loaded on every request.

What Are Autoloaded Options?

WordPress stores site settings in the wp_options table. Each option has an autoload column — when set to “yes”, WordPress loads that option into memory on every page request, whether it is needed or not.

Plugins often set their options to autoload by default. Even after you uninstall a plugin, its autoloaded options may remain in the database, wasting memory and slowing down every request.

How to Check Your Autoload Size

Run this SQL query on your database:

SELECT SUM(LENGTH(option_value)) AS autoload_size
FROM wp_options
WHERE autoload = 'yes';
Enter fullscreen mode Exit fullscreen mode

If the result is over 1MB, you have a problem. Over 500KB deserves attention. A healthy site should be under 300KB.

Finding the Biggest Offenders

SELECT option_name, LENGTH(option_value) AS size
FROM wp_options
WHERE autoload = 'yes'
ORDER BY size DESC
LIMIT 20;
Enter fullscreen mode Exit fullscreen mode

Common culprits include serialized widget data, caching plugin leftovers, abandoned plugin settings, and large transient values mistakenly set to autoload.

Safely Cleaning Up Autoloaded Options

Before changing anything, back up your database. Then for options you have identified as unnecessary:

UPDATE wp_options SET autoload = 'no' WHERE option_name = 'some_old_plugin_settings';
Enter fullscreen mode Exit fullscreen mode

For options from plugins you have already uninstalled, you can safely delete them:

DELETE FROM wp_options WHERE option_name LIKE 'old_plugin_%';
Enter fullscreen mode Exit fullscreen mode

WP Multitool has a dedicated Autoload Optimizer that identifies unused autoloaded options and lets you disable or remove them with a single click — no SQL required. It shows you exactly how much memory each option consumes and flags options left behind by uninstalled plugins.

The Impact

Reducing autoload data from 2MB to 200KB can shave 100-300ms off every page load. On a site serving 10,000 daily visitors, that is the difference between a snappy experience and a sluggish one — and it directly affects your Core Web Vitals scores.

Check your autoloaded options today. You might be surprised how much dead weight your site is carrying.

    Get WordPress Performance Tips
    Join developers and agency owners who get backend optimization strategies, tool releases, and deep-dive guides.





        Join Free


    No spam. Unsubscribe anytime. We respect your privacy.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)