<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 12:57:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mpwebwizard.com: Use a mirror for hits from popular websites]]></title>
      <guid>http://www.phpdeveloper.org/news/6921</guid>
      <link>http://www.phpdeveloper.org/news/6921</link>
      <description><![CDATA[<p>
There's a tutorial over on mpwebwizard.com that's <a href="http://mpwebwizard.com/free_stuff/use_a_mirror">been updated</a> and talks about using a mirror to handle hits from a popular website (like digg or slashdot).
</p>
<blockquote>
caching services such as <a href="http://www.coralcdn.org/">coral content distribution network</a> provide an alternative for when your site goes down, but why wait until it gets to that stage? why not just send all your hits from high-end websites to the coral cache version? well, there isn't a good reason not to, so i'll show you how to do it automatically.
</blockquote>
<p>
He <a href="http://mpwebwizard.com/free_stuff/use_a_mirror">provides the simple script</a> that looks for certain sites in the "HTTP_REFERER" value of incoming calls and pushes them off to the cached location with a header() redirect. The whole thing is only 12 lines, not counting the $sites array.
</p>]]></description>
      <pubDate>Mon, 18 Dec 2006 15:49:00 -0600</pubDate>
    </item>
  </channel>
</rss>
