too many functions?
Posted: Wed Feb 07, 2007 4:35 am
Hi
I have a large site containing many seperate includes files containing an number of functions.
All of these includes files are brought together by one main file that includes them all inc.functions.php and this is called by all the pages within my site
e.g. inc.functions.php looks like
My question (out of interest) is by including this file within each of my pages does this effect the performance of each page? I am concerened that pages may be calling on functions that it will not need.
I would be interested to hear your opinions
Thanks in advance
I have a large site containing many seperate includes files containing an number of functions.
All of these includes files are brought together by one main file that includes them all inc.functions.php and this is called by all the pages within my site
e.g. inc.functions.php looks like
Code: Select all
require_once('inc.dbfunctions.php');
require_once('queries.php');
require_once('inc.news.php');
require_once('inc.tj.php');
require_once('inc.pager.php');
require_once('inc.members.php');
require_once('inc.events.php');I would be interested to hear your opinions
Thanks in advance