<?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: using Javascript to refresh an image without a cache-busting parameter</title>
	<atom:link href="http://www.post-hipster.com/2008/10/20/using-javascript-to-refresh-an-image-without-a-cache-busting-parameter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.post-hipster.com/2008/10/20/using-javascript-to-refresh-an-image-without-a-cache-busting-parameter/</link>
	<description>A Shady Lane, everybody wants one</description>
	<lastBuildDate>Thu, 04 Jun 2009 18:18:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Shaun</title>
		<link>http://www.post-hipster.com/2008/10/20/using-javascript-to-refresh-an-image-without-a-cache-busting-parameter/comment-page-1/#comment-610</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Thu, 09 Apr 2009 20:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.post-hipster.com/?p=65#comment-610</guid>
		<description>thank you for this very useful post - i was having the same problem.</description>
		<content:encoded><![CDATA[<p>thank you for this very useful post &#8211; i was having the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chip</title>
		<link>http://www.post-hipster.com/2008/10/20/using-javascript-to-refresh-an-image-without-a-cache-busting-parameter/comment-page-1/#comment-77</link>
		<dc:creator>chip</dc:creator>
		<pubDate>Fri, 19 Dec 2008 13:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.post-hipster.com/?p=65#comment-77</guid>
		<description>I suppose you could make an AJAX request, parse the response headers, store the image&#039;s cache validity on your page, and use the cache-busting hack when you need to pull the image, but that seems to be a tremendous amount of work to save a couple extra HTTP requests.

Remember that when a server returns a 304 response code, it&#039;s saying &quot;This image has not changed since the last time you requested it, so use your cached copy&quot; - I guess the trick is to make your CDN&#039;s cache of the image refresh itself correctly after the cache you set expires.

HTH,
Chip</description>
		<content:encoded><![CDATA[<p>I suppose you could make an AJAX request, parse the response headers, store the image&#8217;s cache validity on your page, and use the cache-busting hack when you need to pull the image, but that seems to be a tremendous amount of work to save a couple extra HTTP requests.</p>
<p>Remember that when a server returns a 304 response code, it&#8217;s saying &#8220;This image has not changed since the last time you requested it, so use your cached copy&#8221; &#8211; I guess the trick is to make your CDN&#8217;s cache of the image refresh itself correctly after the cache you set expires.</p>
<p>HTH,<br />
Chip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yannack</title>
		<link>http://www.post-hipster.com/2008/10/20/using-javascript-to-refresh-an-image-without-a-cache-busting-parameter/comment-page-1/#comment-76</link>
		<dc:creator>yannack</dc:creator>
		<pubDate>Thu, 18 Dec 2008 13:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.post-hipster.com/?p=65#comment-76</guid>
		<description>Hello,
First of all, thanks for the very interesting post, you are the first I found which tackles this issue. Your solution is, by far, the closest to what I am looking for, as a) is not good for me, and b) is starting to annoy me :)
However, I would like a way for Firefox to only reload the image if it&#039;s cache validity has expired, and your solution doesn&#039;t allow this. At least, it doesn&#039;t send the request up my CDN after reaching the first proxy, but do you think there would be a way for it never to even reach the first proxy if the Firefox cache still holds a valid image? (IE doesn&#039;t seem to have this problem, only Firefox)
Thanks a lot,
Yannack</description>
		<content:encoded><![CDATA[<p>Hello,<br />
First of all, thanks for the very interesting post, you are the first I found which tackles this issue. Your solution is, by far, the closest to what I am looking for, as a) is not good for me, and b) is starting to annoy me <img src='http://www.post-hipster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
However, I would like a way for Firefox to only reload the image if it&#8217;s cache validity has expired, and your solution doesn&#8217;t allow this. At least, it doesn&#8217;t send the request up my CDN after reaching the first proxy, but do you think there would be a way for it never to even reach the first proxy if the Firefox cache still holds a valid image? (IE doesn&#8217;t seem to have this problem, only Firefox)<br />
Thanks a lot,<br />
Yannack</p>
]]></content:encoded>
	</item>
</channel>
</rss>
