<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Caching HTTP Headers, Cache-Control: max-age</title>
	<atom:link href="http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html</link>
	<description>Everything about web scaling and high availability</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:30:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jürgen Hörmann</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-221</link>
		<dc:creator>Jürgen Hörmann</dc:creator>
		<pubDate>Sat, 17 Dec 2011 22:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-221</guid>
		<description>The .htaccess code did not work for my site. I do not know why but the &quot;RemoveType application/x-gzip .gz&quot; did not work and I always got the wrong Content-Type for my files.

I found a solution I want to share. My .taccess code as follows:

RewriteEngine On
RewriteBase /cache/assets/ 
RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
RewriteRule (.*)\.css $1.css.gz
RewriteRule (.*)\.js $1.js.gz
AddEncoding x-gzip .gz
ExpiresActive on
ExpiresDefault A604800
ExpiresByType text/css &quot;A604800&quot;
ExpiresByType application/x-javascript &quot;A604800&quot;

RemoveOutputFilter DEFLATE


	ForceType text/css


	ForceType application/javascript
</description>
		<content:encoded><![CDATA[<p>The .htaccess code did not work for my site. I do not know why but the &#8220;RemoveType application/x-gzip .gz&#8221; did not work and I always got the wrong Content-Type for my files.</p>
<p>I found a solution I want to share. My .taccess code as follows:</p>
<p>RewriteEngine On<br />
RewriteBase /cache/assets/<br />
RewriteCond %{HTTP:Accept-Encoding} .*gzip.*<br />
RewriteRule (.*)\.css $1.css.gz<br />
RewriteRule (.*)\.js $1.js.gz<br />
AddEncoding x-gzip .gz<br />
ExpiresActive on<br />
ExpiresDefault A604800<br />
ExpiresByType text/css &#8220;A604800&#8243;<br />
ExpiresByType application/x-javascript &#8220;A604800&#8243;</p>
<p>RemoveOutputFilter DEFLATE</p>
<p>	ForceType text/css</p>
<p>	ForceType application/javascript</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhosh</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-214</link>
		<dc:creator>santhosh</dc:creator>
		<pubDate>Sat, 03 Dec 2011 08:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-214</guid>
		<description>good information</description>
		<content:encoded><![CDATA[<p>good information</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Birmingham Driving School</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-196</link>
		<dc:creator>Birmingham Driving School</dc:creator>
		<pubDate>Mon, 07 Nov 2011 23:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-196</guid>
		<description>i&#039;m new to all of this, could you please tell me where i put the:

Cache-Control: max-age=28800 

command????


thanks guys :)</description>
		<content:encoded><![CDATA[<p>i&#8217;m new to all of this, could you please tell me where i put the:</p>
<p>Cache-Control: max-age=28800 </p>
<p>command????</p>
<p>thanks guys <img src='http://www.webscalingblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janifer</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-182</link>
		<dc:creator>janifer</dc:creator>
		<pubDate>Sun, 25 Sep 2011 03:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-182</guid>
		<description>I&#039;m in charge of web optimization for my company site.
I will try to add &quot;header(&#039;Cache-Control: max-age=28800&#039;);&quot; in to the test page, and keep tracking for its index.</description>
		<content:encoded><![CDATA[<p>I&#8217;m in charge of web optimization for my company site.<br />
I will try to add &#8220;header(&#8216;Cache-Control: max-age=28800&#8242;);&#8221; in to the test page, and keep tracking for its index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gugu</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-112</link>
		<dc:creator>gugu</dc:creator>
		<pubDate>Thu, 23 Dec 2010 07:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-112</guid>
		<description>thank you share with us. hope you fine !</description>
		<content:encoded><![CDATA[<p>thank you share with us. hope you fine !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gelinlik</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-106</link>
		<dc:creator>gelinlik</dc:creator>
		<pubDate>Sat, 09 Oct 2010 10:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-106</guid>
		<description>thanks your sharing.</description>
		<content:encoded><![CDATA[<p>thanks your sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The YPI</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-45</link>
		<dc:creator>The YPI</dc:creator>
		<pubDate>Sun, 01 Mar 2009 21:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-45</guid>
		<description>It really helps to set far fetched cache-control header. 
But i was looking for cache setting through php, not through apache tweak or htaccess.
Caching helps saving server, as well as user&#039;s bandwidth.
But performance remains by far the most important goal for this!
Thanks for posting.</description>
		<content:encoded><![CDATA[<p>It really helps to set far fetched cache-control header.<br />
But i was looking for cache setting through php, not through apache tweak or htaccess.<br />
Caching helps saving server, as well as user&#8217;s bandwidth.<br />
But performance remains by far the most important goal for this!<br />
Thanks for posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using CSS Image Sprites &#124; Web Scaling Blog</title>
		<link>http://www.webscalingblog.com/performance/caching-http-headers-cache-control-max-age.html/comment-page-1#comment-8</link>
		<dc:creator>Using CSS Image Sprites &#124; Web Scaling Blog</dc:creator>
		<pubDate>Tue, 23 Sep 2008 13:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.webscalingblog.com/?p=11#comment-8</guid>
		<description>[...] &#8592; Caching HTTP Headers, Cache-Control: max-age [...]</description>
		<content:encoded><![CDATA[<p>[...] &larr; Caching HTTP Headers, Cache-Control: max-age [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

