<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Reason #256794 why IE sucks: Ajax Caching</title>
	<atom:link href="http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/</link>
	<description>Because programming is depressing</description>
	<lastBuildDate>Thu, 05 Nov 2009 23:29:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: working</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-193</link>
		<dc:creator>working</dc:creator>
		<pubDate>Mon, 19 Nov 2007 08:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-193</guid>
		<description>If using php, put the following headers to response:

$offset = 120;
$ExpStr = &quot;Expires: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;, time() - $offset) . &quot; GMT&quot;;
header($ExpStr);
header(&quot;Last-Modified: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;) . &quot; GMT&quot;);
header(&quot;Cache-Control: no-cache, max-age=0, must-revalidate&quot;);

works fine with IE.</description>
		<content:encoded><![CDATA[<p>If using php, put the following headers to response:</p>
<p>$offset = 120;<br />
$ExpStr = &#8220;Expires: &#8221; . gmdate(&#8220;D, d M Y H:i:s&#8221;, time() &#8211; $offset) . &#8221; GMT&#8221;;<br />
header($ExpStr);<br />
header(&#8220;Last-Modified: &#8221; . gmdate(&#8220;D, d M Y H:i:s&#8221;) . &#8221; GMT&#8221;);<br />
header(&#8220;Cache-Control: no-cache, max-age=0, must-revalidate&#8221;);</p>
<p>works fine with IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: groie</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-195</link>
		<dc:creator>groie</dc:creator>
		<pubDate>Fri, 20 Jul 2007 10:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-195</guid>
		<description>Figures... thanks for help.</description>
		<content:encoded><![CDATA[<p>Figures&#8230; thanks for help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: serious guy</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-196</link>
		<dc:creator>serious guy</dc:creator>
		<pubDate>Fri, 20 Jul 2007 04:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-196</guid>
		<description>hey this is a good idea, we were already setting no-cache HTTP headers with ASP and that worked for one project but the exact same code (javascript and ASP anti-caching stuff) didn&#039;t work on another project on another server.  I wouldnt believe me either.

Anyway, the random number on the end of the querystring worked.

Firefox was fine in all cases btw</description>
		<content:encoded><![CDATA[<p>hey this is a good idea, we were already setting no-cache HTTP headers with ASP and that worked for one project but the exact same code (javascript and ASP anti-caching stuff) didn&#8217;t work on another project on another server.  I wouldnt believe me either.</p>
<p>Anyway, the random number on the end of the querystring worked.</p>
<p>Firefox was fine in all cases btw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Kobashikawa Carrasco</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-194</link>
		<dc:creator>Antonio Kobashikawa Carrasco</dc:creator>
		<pubDate>Fri, 13 Jul 2007 18:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-194</guid>
		<description>Also could use differentiator: new Date().getTime() to avoid improbable but possible random number repetition.</description>
		<content:encoded><![CDATA[<p>Also could use differentiator: new Date().getTime() to avoid improbable but possible random number repetition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Rose</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-191</link>
		<dc:creator>David Rose</dc:creator>
		<pubDate>Thu, 07 Jun 2007 03:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-191</guid>
		<description>Changing the method to POST had no effect for my script. But appending a random number as a parameter in the AJAX request url did the trick. Thanks!</description>
		<content:encoded><![CDATA[<p>Changing the method to POST had no effect for my script. But appending a random number as a parameter in the AJAX request url did the trick. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Atkinson</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-189</link>
		<dc:creator>John Atkinson</dc:creator>
		<pubDate>Thu, 31 May 2007 18:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-189</guid>
		<description>excellent work around. still not sure why i would ever want to cache something i&#039;m calling with AJAX.  seems against 2.0, but i&#039;m sure there are good examples, i just haven&#039;t come across that yet.</description>
		<content:encoded><![CDATA[<p>excellent work around. still not sure why i would ever want to cache something i&#8217;m calling with AJAX.  seems against 2.0, but i&#8217;m sure there are good examples, i just haven&#8217;t come across that yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: allnightlong</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-190</link>
		<dc:creator>allnightlong</dc:creator>
		<pubDate>Tue, 29 May 2007 13:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-190</guid>
		<description>thakns a lot
ur post solve my trouble</description>
		<content:encoded><![CDATA[<p>thakns a lot<br />
ur post solve my trouble</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: real_guy_programmer</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-192</link>
		<dc:creator>real_guy_programmer</dc:creator>
		<pubDate>Mon, 28 May 2007 06:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-192</guid>
		<description>Wow, you&#039;re the kinda guy I&#039;m looking for. You solve all of that bull that happens to programmers. I&#039;ve just spent like the last 5 hours trying to solve this shit problem not to mention the countless hours I&#039;ve spent procrastinating on this known problem. Thanks for making my shit life less shitty. To quote Lewis Black: We&#039;ve gone from shitty shitty shitty to stinky farty smelly.</description>
		<content:encoded><![CDATA[<p>Wow, you&#8217;re the kinda guy I&#8217;m looking for. You solve all of that bull that happens to programmers. I&#8217;ve just spent like the last 5 hours trying to solve this shit problem not to mention the countless hours I&#8217;ve spent procrastinating on this known problem. Thanks for making my shit life less shitty. To quote Lewis Black: We&#8217;ve gone from shitty shitty shitty to stinky farty smelly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dasmotiu zodalif</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-186</link>
		<dc:creator>dasmotiu zodalif</dc:creator>
		<pubDate>Sat, 12 May 2007 19:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-186</guid>
		<description>From another point of view, I&#039;m rather pleased that the default action of the browser is to cache it.  That is the behaviour I want.  There is a centuries-old proverb: One man&#039;s meat is another man&#039;s poison.</description>
		<content:encoded><![CDATA[<p>From another point of view, I&#8217;m rather pleased that the default action of the browser is to cache it.  That is the behaviour I want.  There is a centuries-old proverb: One man&#8217;s meat is another man&#8217;s poison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://depressedprogrammer.wordpress.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-187</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 10 May 2007 13:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/05/02/ajax-prototype-scriptaculous-caching-ie-internet-explorer/#comment-187</guid>
		<description>The author is correct that IE caches GET requests made with the XHR object and his workaround is ok. But he bashes IE without realizing how simple and well-documented this problem is, and how this &#039;feature&#039; can actually be beneficial. I know that bashing IE is fashionable, but bashing IE for no good reason is so last year.</description>
		<content:encoded><![CDATA[<p>The author is correct that IE caches GET requests made with the XHR object and his workaround is ok. But he bashes IE without realizing how simple and well-documented this problem is, and how this &#8216;feature&#8217; can actually be beneficial. I know that bashing IE is fashionable, but bashing IE for no good reason is so last year.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
