![]() |
Optimizing CMS
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? |
If it's accessed more than once every 5 minutes... then I'd say yes.
|
Quote:
The caching script makes several queries to the database and writes them to an .html file every 5 minutes. I then use PHP's output buffering in my php scripts, instead of using the template system. I'm being selective on what queries I cache, because I am sure that the small ones are probably faster to run in real time than using the output buffering. |
All times are GMT. The time now is 04:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|