<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Quinterox &#187; expire headers</title>
	<atom:link href="http://www.quinterox.com/content/tag/expire-headers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quinterox.com/content</link>
	<description>Cesar Quinteros</description>
	<lastBuildDate>Sun, 20 Jun 2010 04:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adding Expire Headers to Htaccess File</title>
		<link>http://www.quinterox.com/content/code/adding-expire-headers-to-htaccess-file/</link>
		<comments>http://www.quinterox.com/content/code/adding-expire-headers-to-htaccess-file/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 04:29:48 +0000</pubDate>
		<dc:creator>Cesar Quinteros</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[expire headers]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.quinterox.com/content/?p=654</guid>
		<description><![CDATA[How to add expire headers to your .htaccess file in order to save you from unnecessary server requests.]]></description>
			<content:encoded><![CDATA[<p>Adding expire headers is a good way to keep client requests to a minimum. Without them every time the client&#8217;s browser requests a file the server has to serve it. Adding expire headers, in this case to the .htaccess file, keeps a cached version of the requested file on the client&#8217;s computer in case it is requested again. For example, you have an image gallery. The client clicks on a picture, the picture is served to them, fine. Now when the client clicks the link at the top of your page to return to the main gallery page, ALL those thumbnails of the large images are requested from the server. With this code the client merely retrieves the same images he originally saw again, without the extra server requests. Nice isn&#8217;t it?<br />
<code><br />
&lt;FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css)$"&gt;<br />
Header unset Last-Modified<br />
Header set Expires "Fri, 10 Jun 2050 00:00:00 GMT"<br />
Header set Cache-Control "public, no-transform"<br />
&lt;/FilesMatch&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.quinterox.com/content/code/adding-expire-headers-to-htaccess-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
