<?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 01:59:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mike Wallner's Blog: Dropping server load with HTTP caching]]></title>
      <guid>http://www.phpdeveloper.org/news/17456</guid>
      <link>http://www.phpdeveloper.org/news/17456</link>
      <description><![CDATA[<p>
<i>Mike Wallner</i> has shared a <a href="http://blog.iworks.at/?/archives/4-Dropping-server-load-with-HTTP-caching.html">quick and easy HTTP caching technique</a> in a new post to his blog today. The key is in using the PEAR <a href="http://pear.php.net/package/HTTP_Header">HTTP_Header</a> package.
</p>
<blockquote>
Ever watched youself browsing e.g. a web forum? Noticed that you viewed the same page several times? Well, this means extraordinary and useless load for your server if there's no caching mechanism implemented in the web application. Even if there is some file or db cache you can still improve performance with implementing some http cache.
</blockquote>
<p>
With a few simple lines of code using <a href="http://pear.php.net/package/HTTP_Header">HTTP_Header</a>, you can tell your scripts how long to set the "expires" header to on your requests. This increment (in seconds) is relayed to the browser to tell it when to next fetch the page and not reload from cache.
</p>]]></description>
      <pubDate>Fri, 27 Jan 2012 09:43:04 -0600</pubDate>
    </item>
  </channel>
</rss>
