Performance improvements
-
Hello,
I’m noticing a performance hit with this plugin due to the amount of file_exists checks coming from the autoloader (redux-framework/redux-core/inc/classes/class-redux-autoloader.php)
The load function is called via spl_autoload_register which is looping through all of the classes on a site. This can result in thousands of file_exists checks for large sites, which affects backend performance.
Is it possible for a condition to be added, such as below, to drop any non-redux classes before the file_exists check?
public function load( $class ) { if (strpos($class, 'Redux') === false) { return; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Performance improvements’ is closed to new replies.