rootnik
10-15-2006, 04:48 PM
Please look at my dev site:
http://dev.friendcodes.com/
You can see that I have 3 queries in that left column that will be called on all non-forum pages.
"Latest Headlines"
"DSigner Images"
"Recent Posts"
Would be be easier on the server to run a cron job every 5 minutes that would write a "static" file that would then be included in the php, instead of calling the database 3 times per page load?
http://dev.friendcodes.com/
You can see that I have 3 queries in that left column that will be called on all non-forum pages.
"Latest Headlines"
"DSigner Images"
"Recent Posts"
Would be be easier on the server to run a cron job every 5 minutes that would write a "static" file that would then be included in the php, instead of calling the database 3 times per page load?