Welcome to WebmasterWorld Guest from 184.108.40.206
Here is the question:
Has anyone used file_get_contents & file_put_contents (or similar) to pre-render and save the straight HTML as the actual delivered pages?
This would save tons of PH and mySQL processing, speed up delivery and could be run as a CRON.
Any input would be useful.
If your data is not that dynamic, then a query cache (built into MySQL for example) will help if you have lots of identical queries being used, and a PHP cache like APC will help with PHP performance.
The answer to your question will become immediately evident upon posting in a public forum.
Picked up PEAR Cache-Lite.
Using Output.php to cache complete pages indefinitely.
CRON jobs update underlying tables and delete the appropriate cache files.
(0.01 sec to render, 0.005 sec. from cache)