<?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>Web Development &#38; Stuff &#187; AJAX</title>
	<atom:link href="http://web-development-blog.co.uk/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://web-development-blog.co.uk</link>
	<description>Some interesting findings from web-dev land...</description>
	<lastBuildDate>Mon, 02 Apr 2012 15:10:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ajax requests cached by Internet Explorer</title>
		<link>http://web-development-blog.co.uk/2010/05/16/ajax-requests-cached-by-internet-explorer/</link>
		<comments>http://web-development-blog.co.uk/2010/05/16/ajax-requests-cached-by-internet-explorer/#comments</comments>
		<pubDate>Sun, 16 May 2010 13:30:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://web-development-blog.co.uk/?p=335</guid>
		<description><![CDATA[God I hate IE&#8230;. and I really don&#8217;t often hate anything&#8230;.
IE tends to cache its responses to some AJAX requests, which if you ask me is very stupid for its default behaviour.
FireFox caching is disabled by default. As always much love to the Fox.
Anyway, if you&#8217;re using jQuery.ajax() remember to pass the cache: false argument [...]]]></description>
			<content:encoded><![CDATA[<p>God I hate IE&#8230;. and I really don&#8217;t often hate anything&#8230;.</p>
<p>IE tends to cache its responses to some AJAX requests, which if you ask me is very stupid for its default behaviour.</p>
<p>FireFox caching is disabled by default. As always much love to the Fox.</p>
<p>Anyway, if you&#8217;re using jQuery.ajax() remember to pass the cache: false argument otherwise you may get unexpected results.</p>
<div class="codecolorer-container javascript " style="overflow:auto;white-space:nowrap;width:100%"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="javascript codecolorer" style="font-family:Monaco,Lucida Console,monospace">$.<span class="me1">ajax</span><span class="br0">&#40;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; async<span class="sy0">:</span><span class="kw2">true</span><span class="sy0">,</span><br />
&nbsp; &nbsp; cache<span class="sy0">:</span><span class="kw2">false</span><span class="sy0">,</span> &nbsp; <span class="co1">// &lt;-- Set this or you will feel pain!!</span><br />
&nbsp; &nbsp; type<span class="sy0">:</span><span class="st0">'post'</span><span class="sy0">,</span> <br />
&nbsp; &nbsp; data<span class="sy0">:</span> <span class="st0">'data[TreeRows]='</span> <span class="sy0">+</span> data<span class="sy0">,</span><br />
&nbsp; &nbsp; success<span class="sy0">:</span><span class="kw2">function</span><span class="br0">&#40;</span>request<span class="sy0">,</span> xhr<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">true</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><span class="sy0">,</span> <br />
&nbsp; &nbsp; url<span class="sy0">:</span><span class="st0">'/admin/pages/save_tree_state'</span><br />
&nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://web-development-blog.co.uk/2010/05/16/ajax-requests-cached-by-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

