coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: copperminepro on February 22, 2008, 02:10:45 AM

Title: Theme.php and Themes.inc.php reconciliation
Post by: copperminepro on February 22, 2008, 02:10:45 AM
From a strictly performance standpoint, not a mod-ability standpoint, how can I increase the performance of themes.inc.php?

Would it use less queries, resources, and overall time to have ONLY themes.inc.php? What are peoples thoughts on this?

I'm trying to save server resources everywhere I can... Would anymore recommend combining my modifications with themes.inc.php?

I don't care about ease of modification or simplification, only performance matters..
Title: Re: Theme.php and Themes.inc.php reconciliation
Post by: Joachim Müller on February 22, 2008, 07:48:23 AM
To increase performace, I rather suggest to look into query optimization. The theme override (if functions_exists) doesn't burn many CPU cycles - going through the effort you're up to won't help much in my opinion.