PHP Caching Question
<p>I recently worked on a project on .NET and part of the code involved reading the header and footer from a pre-defined format for consistency across various websites shared by the same client.</p>

<p>I am faced by a similar problem in php. I get the contents of the header/footer links using:</p>

<pre><code>&lt;?php
$contents = file_get_contents('http://www.mysite.com/common/footer.asp');
echo $contents;
?&gt;
</code></pre>

<p>Is there a way I can load this into cache to avoid repeated calls to <a href="http://www.mysite.com/common/footer.asp" rel="nofollow">http://www.mysite.com/common/footer.asp</a></p>

<p>Cheers</p>
