Hi,
If you don't need realtime for the main content then generate the main content once a day. That way, users will load a static page instead of a dynamic one nd that's most efficient way to do.
To do this, write a PHP script that generate the page.
Then, use PHP executable to generate the page and schedule this task with cron ( on Unix ) or Windows scheduler and save the output in a file.
On Unix you could do:
php page.php > /document_root/maincontent.php