<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: A Trick For Caching And Expiring Static Web Resources</title>
	<atom:link href="http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/</link>
	<description>The Inglua Blog</description>
	<lastBuildDate>Mon, 22 Sep 2008 05:07:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: links for 2008-07-28 &#171; Brent Sordyl&#8217;s Blog</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-48</link>
		<dc:creator>links for 2008-07-28 &#171; Brent Sordyl&#8217;s Blog</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-48</guid>
		<description>[...] A Trick For Caching And Expiring Static Web Resources we call a function, e.g. versioned_css(&#8221;main&#8221;). In this function we append the git hash (git-hash-object filename) to the filename, before the extension, caching the result (tags: caching web) [...]</description>
		<content:encoded><![CDATA[<p>[...] A Trick For Caching And Expiring Static Web Resources we call a function, e.g. versioned_css(&#8221;main&#8221;). In this function we append the git hash (git-hash-object filename) to the filename, before the extension, caching the result (tags: caching web) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel de Mare</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-46</link>
		<dc:creator>Michiel de Mare</dc:creator>
		<pubDate>Sun, 27 Jul 2008 12:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-46</guid>
		<description>@Moshe &amp; Adam: That&#039;s what Rails does, and it works (as long as you have an expires-tag, otherwise it&#039;s useless). I prefer hashes to timestamps (with multiple web-servers timestamps may not be identical) and have an irrational dislike for using the query-string like this.

@Reggie: Yes, the rewrite rule has essentially the same effect.

@a: ETags are used for cache validation, i.e. you don&#039;t know if your cached object is fresh, and the web server returns a 304 if it is by comparing the Etags. So this will save bandwidth, but not reduce the number of requests.</description>
		<content:encoded><![CDATA[<p>@Moshe &amp; Adam: That&#8217;s what Rails does, and it works (as long as you have an expires-tag, otherwise it&#8217;s useless). I prefer hashes to timestamps (with multiple web-servers timestamps may not be identical) and have an irrational dislike for using the query-string like this.</p>
<p>@Reggie: Yes, the rewrite rule has essentially the same effect.</p>
<p>@a: ETags are used for cache validation, i.e. you don&#8217;t know if your cached object is fresh, and the web server returns a 304 if it is by comparing the Etags. So this will save bandwidth, but not reduce the number of requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-45</link>
		<dc:creator>a</dc:creator>
		<pubDate>Sun, 27 Jul 2008 08:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-45</guid>
		<description>Using other mechanisms but expiry time might suffice for most people. See ETags and partial requests.</description>
		<content:encoded><![CDATA[<p>Using other mechanisms but expiry time might suffice for most people. See ETags and partial requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reggie Drake</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-44</link>
		<dc:creator>Reggie Drake</dc:creator>
		<pubDate>Sun, 27 Jul 2008 06:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-44</guid>
		<description>So why use a rewrite rule at all? Seems that href=&quot;/css/main.css?c0a9a0a5ec&quot; would do just as well.</description>
		<content:encoded><![CDATA[<p>So why use a rewrite rule at all? Seems that href=&#8221;/css/main.css?c0a9a0a5ec&#8221; would do just as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-43</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Sun, 27 Jul 2008 06:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-43</guid>
		<description>Theres an easier way to do static file caching... Save the filename as is &quot;whatever.js&quot;. Now to do the versioning you append a &quot;?&quot; on the end and add the file modification date. So you end up with whatever.js?1217141507. Now whenever you make a change the version is automatically updated.</description>
		<content:encoded><![CDATA[<p>Theres an easier way to do static file caching&#8230; Save the filename as is &#8220;whatever.js&#8221;. Now to do the versioning you append a &#8220;?&#8221; on the end and add the file modification date. So you end up with whatever.js?1217141507. Now whenever you make a change the version is automatically updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moshe</title>
		<link>http://blog.inglua.com/2008/07/27/a-trick-for-caching-and-expiring-static-web-resources/#comment-42</link>
		<dc:creator>Moshe</dc:creator>
		<pubDate>Sun, 27 Jul 2008 03:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://inglua.wordpress.com/?p=43#comment-42</guid>
		<description>What about having version in query string?

</description>
		<content:encoded><![CDATA[<p>What about having version in query string?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
