If I have extensions "installed but disabled" in my extension manager (as opposed to "completely uninstalled"), do these disabled extensions slow down web site performance for web site visitors?
If yes, why?
If I have extensions "installed but disabled" in my extension manager (as opposed to "completely uninstalled"), do these disabled extensions slow down web site performance for web site visitors?
If yes, why?
Actually it does slow the site down in the slightest by having them disabled rather than uninstalled, as when loading a plugin, it checks the ones that are enabled and runs them. If you have 100 plugins for example and 50 of them are enabled, then the where()
clause will have to sift through the 50 disabled ones too. Its not a speed that you will notice that much (depending on how many extensions you have), but it would be just best to uninstall them.
When viewing the extension manager in the backend, you will actually notice the speed difference.
WHERE
will be the same complexity no matter how many plugins you have. We should not be recommending someone uninstall plugins based on nanoseconds difference in basic mysql queries.
No. They do not slow down performance of your website.
JPluginHelper::importPlugin('system');
call. Loading less entries === less loading time. Regardless of if you define it as a micro-optimization or not, it still exists. OP asked if it slows down site performance for visitors. Since it's so minute, there will be zero noticeable performance issues. It still effects it though, however minutely, on every request, not just the admin plugin screen.
Commented
May 7, 2014 at 15:37
If you are worried about the speed of your website because of disabled extensions - then you are worrying about the wrong thing... Get a decent webhost and the milliseconds your site consumes because of disabled plugins will be a non-issue.
Also just cause you have disabled it in Joomla doesn't mean it cannot be accessed directly by URL, and any security vulnerabilities it may have may still be exploited.
Lastly, just because a plugin is disabled, doesnt mean some plugins do not fire/run, some plugins will be invoked and they will check themselves if they are allowed to run or not!