Most people are aware that minimizing the number of plugins used is a good way to help keep a WordPress site running fast. However, does that general rule include deactivated plugins?
|
feedback
|
|
No it doesn't. At least, not on the front end, or in the back end in any non-plugin area. WordPress only loads files whose filepaths are stored in the active_plugins option in the database and ignores everything else completely. | |||
|
feedback
|
|
Except in unusual cases having deactivated plugins only affects the performance of the plugin page in the admin, and only then a trivial amount (unless you have hundreds of plugins.) During the plugin admin page load WordPress scans all the plugins and then stores the list of active plugins in the database. Then on all other page loads WordPress inspects that list of plugins, not the plugins themselves. The one caveat to this is if the deactivated plugin stored a lot of autoload data in the If you do run into such a plugin and need to get rid of the options then this might help. | |||
|
feedback
|