2012-08-20, 05:27 AM
I have a lot of plugins on my mybb forum. But I dont have time to uninstall them by ftp and they are deactivated. Do they (deactivated plugins) affect my mybb browsing speed?
(2012-08-20, 06:36 AM)Nathan Malcolm Wrote: [ -> ]Only when the plugin is activated is it even loaded...
(2012-08-20, 07:47 AM)seeker Wrote: [ -> ](2012-08-20, 06:36 AM)Nathan Malcolm Wrote: [ -> ]Only when the plugin is activated is it even loaded...
I used to think that, but:
APC cache shows a 'hit' for every single file in ./inc/plugins/ , after a simple visit to (front-end) index.php
I was surprised...
foreach($pluginlist['active'] as $plugin)
{
if($plugin != "" && file_exists(MYBB_ROOT."inc/plugins/".$plugin.".php"))
{
require_once MYBB_ROOT."inc/plugins/".$plugin.".php";
}
}
/var/www/mybb/16/1608/index.php
/var/www/mybb/16/1608/global.php
/var/www/mybb/16/1608/inc/init.php
/var/www/mybb/16/1608/inc/functions_compat.php
/var/www/mybb/16/1608/inc/class_error.php
/var/www/mybb/16/1608/inc/functions.php
/var/www/mybb/16/1608/inc/class_timers.php
/var/www/mybb/16/1608/inc/class_core.php
/var/www/mybb/16/1608/inc/config.php
/var/www/mybb/16/1608/inc/db_mysqli.php
/var/www/mybb/16/1608/inc/class_templates.php
/var/www/mybb/16/1608/inc/class_datacache.php
/var/www/mybb/16/1608/inc/class_plugins.php
/var/www/mybb/16/1608/inc/datahandler.php
/var/www/mybb/16/1608/inc/class_language.php
/var/www/mybb/16/1608/inc/settings.php
/var/www/mybb/16/1608/index.php
/var/www/mybb/16/1608/global.php
/var/www/mybb/16/1608/inc/init.php
/var/www/mybb/16/1608/inc/functions_compat.php
/var/www/mybb/16/1608/inc/class_error.php
/var/www/mybb/16/1608/inc/functions.php
/var/www/mybb/16/1608/inc/class_timers.php
/var/www/mybb/16/1608/inc/class_core.php
/var/www/mybb/16/1608/inc/config.php
/var/www/mybb/16/1608/inc/db_mysqli.php
/var/www/mybb/16/1608/inc/class_templates.php
/var/www/mybb/16/1608/inc/class_datacache.php
/var/www/mybb/16/1608/inc/class_plugins.php
/var/www/mybb/16/1608/inc/datahandler.php
/var/www/mybb/16/1608/inc/class_language.php
/var/www/mybb/16/1608/inc/settings.php
/var/www/mybb/16/1608/inc/plugins/hello.php
(2012-08-20, 03:26 PM)Nathan Malcolm Wrote: [ -> ]...
I think this might explain what's going on here: http://stackoverflow.com/a/11301179