My blogs are cached, but I noticed when I loaded it, my sidebar was a bit delayed, which made me wonder if php was an issue. Right now my sidebar is pretty "include-heavy", as I have quite a few php files I'll call cross server so I can quickly alter banners and what not.
Right now I'm using file_get_contents, and doing it like this (which I already realized is wrong)
Code: Select all
<?
$c = file_get_contents("http://www.url.net/includes/file1.php");
echo ($c);
?>
<?
$c = file_get_contents("http://www.url.net/includes/file2.php");
echo ($c);
?>
Code: Select all
$url1 = file_get_contents("http://www.url.net/includes/file1.php");
$url2 = file_get_contents("http://www.url.net/includes/file2.php");
Code: Select all
<?php echo $surl1 ?>
blah blah blogroll
<?php echo $url2 ?>
Sorry if this is a dumb question.