<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Flash loading and browser cache test-suite</title>
	<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/</link>
	<description>Lessrain Blog</description>
	<pubDate>Wed, 08 Feb 2012 22:13:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Mayckel</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-141501</link>
		<dc:creator>Mayckel</dc:creator>
		<pubDate>Mon, 30 May 2011 08:18:57 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-141501</guid>
		<description>&lt;p&gt;Hi Thomas, thank you very much!!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Thomas, thank you very much!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-140803</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 19 Oct 2010 04:20:44 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-140803</guid>
		<description>&lt;p&gt;Hi Thomas, &lt;/p&gt;

&lt;p&gt;Thanks so much for the post. This problem was really killing me, didn't realise that PHP session_start changed headers/cache settings. &lt;/p&gt;

&lt;p&gt;Thanks!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Thomas, </p>
<p>Thanks so much for the post. This problem was really killing me, didn&#8217;t realise that PHP session_start changed headers/cache settings. </p>
<p>Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian A</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139967</link>
		<dc:creator>Brian A</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:30:14 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139967</guid>
		<description>&lt;p&gt;Hi Thomas,&lt;/p&gt;

&lt;p&gt;Wanted to drop a note saying thanks for the tip - setting the headers worked beautifully.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Thomas,</p>
<p>Wanted to drop a note saying thanks for the tip - setting the headers worked beautifully.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139836</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:58:40 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139836</guid>
		<description>&lt;p&gt;Thanks for this. I had the same problem with some webservice requests and also https crossdomain.xml
I could have spent days on this!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this. I had the same problem with some webservice requests and also https crossdomain.xml<br />
I could have spent days on this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139135</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Thu, 03 Sep 2009 18:30:46 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139135</guid>
		<description>&lt;p&gt;The SSL test suite is down. Can you turn it back on?&lt;/p&gt;

&lt;p&gt;Thanks a lot!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The SSL test suite is down. Can you turn it back on?</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jermaine</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139016</link>
		<dc:creator>Jermaine</dc:creator>
		<pubDate>Tue, 18 Aug 2009 15:29:33 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-139016</guid>
		<description>&lt;p&gt;Thomas: Can you make the source available for your test suite?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thomas: Can you make the source available for your test suite?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138763</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Mon, 08 Jun 2009 19:36:42 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138763</guid>
		<description>&lt;p&gt;Nice one!!! Also safed my life!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice one!!! Also safed my life!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob S.</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138746</link>
		<dc:creator>Jacob S.</dc:creator>
		<pubDate>Sun, 31 May 2009 19:00:49 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138746</guid>
		<description>&lt;p&gt;brilliant! chewed on that one for a while! the headers fix it! Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>brilliant! chewed on that one for a while! the headers fix it! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Malartre</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138740</link>
		<dc:creator>Carl Malartre</dc:creator>
		<pubDate>Fri, 29 May 2009 17:35:54 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138740</guid>
		<description>&lt;p&gt;Hi, you will also see this bug with crossdomain.xml files:&lt;/p&gt;

&lt;p&gt;If you load a flash app on http and then you access any domain (even the same) with https, flash will try to download crossdomain.xml but it will fail.&lt;/p&gt;

&lt;p&gt;So the problem is really with IE, not flash.
http://support.microsoft.com/default.aspx?scid=kb;en-us;272359&lt;/p&gt;

&lt;p&gt;You have to let IE cache.&lt;/p&gt;

&lt;p&gt;So apply the same solution if you have problems using crossdomain.xml&lt;/p&gt;

&lt;p&gt;Carl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, you will also see this bug with crossdomain.xml files:</p>
<p>If you load a flash app on http and then you access any domain (even the same) with https, flash will try to download crossdomain.xml but it will fail.</p>
<p>So the problem is really with IE, not flash.<br />
<a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;272359" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;en-us;272359</a></p>
<p>You have to let IE cache.</p>
<p>So apply the same solution if you have problems using crossdomain.xml</p>
<p>Carl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138717</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sat, 23 May 2009 07:07:15 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-138717</guid>
		<description>&lt;p&gt;Wow! Serious lifesaver - the cache control headers worked for eliminating the bug in IE - though I'm also going to try the simpler url cacheing method - many many thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wow! Serious lifesaver - the cache control headers worked for eliminating the bug in IE - though I&#8217;m also going to try the simpler url cacheing method - many many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-137447</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Mon, 18 Aug 2008 15:35:07 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-137447</guid>
		<description>&lt;p&gt;@Devin: thanks for adding your explanation and completing the post. It's a valid and practical solution to prevent caching, especially if you don't have access to the back-end. However if you want to leave cache control in the hands of the back-end and your browser you have to be be aware of the behavior of cache control headers - that's what I dedicated this post to.&lt;/p&gt;

&lt;p&gt;I think it's the cleaner and more flexible solution to control caching in the back-end, without creating "hacks" in the front-end. Imagine data services that serve different front-ends- you'll have to tell every developer to append timestamps, where your back-end should be responsible of defining when data ought to be be refreshed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Devin: thanks for adding your explanation and completing the post. It&#8217;s a valid and practical solution to prevent caching, especially if you don&#8217;t have access to the back-end. However if you want to leave cache control in the hands of the back-end and your browser you have to be be aware of the behavior of cache control headers - that&#8217;s what I dedicated this post to.</p>
<p>I think it&#8217;s the cleaner and more flexible solution to control caching in the back-end, without creating &#8220;hacks&#8221; in the front-end. Imagine data services that serve different front-ends- you&#8217;ll have to tell every developer to append timestamps, where your back-end should be responsible of defining when data ought to be be refreshed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin</title>
		<link>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-137438</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Sat, 16 Aug 2008 19:49:48 +0000</pubDate>
		<guid>http://www.blog.lessrain.com/flash-loading-and-browser-cache-test-suite/#comment-137438</guid>
		<description>&lt;p&gt;I have also ran into this problem in an application I have worked on. Since using headers works inconstantly. I find just adding a timestamp to the url is the easy way of dealing with this problem. 
(I notice you do not mention that in these two blogs, but it is in the Browser cache test-suite). For those who do not know what I am talking about here is a quick run down.&lt;/p&gt;

&lt;p&gt;What you can do is add a timestamp onto your url in the query string.
Ex: var url:String = "www.google.com?timestamp=" + new Date().getTime();&lt;/p&gt;

&lt;p&gt;This will add the number of milliseconds since January 1, 1970, to the end of the query string.&lt;/p&gt;

&lt;p&gt;When IE caches any file it caches the query string part also. So the next time the url is called the timestamp is different so IE treats it like a brand new file. This is also the only way of doing things if you do not have control of the headers on the dynamic XML.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have also ran into this problem in an application I have worked on. Since using headers works inconstantly. I find just adding a timestamp to the url is the easy way of dealing with this problem.<br />
(I notice you do not mention that in these two blogs, but it is in the Browser cache test-suite). For those who do not know what I am talking about here is a quick run down.</p>
<p>What you can do is add a timestamp onto your url in the query string.<br />
Ex: var url:String = &#8220;www.google.com?timestamp=&#8221; + new Date().getTime();</p>
<p>This will add the number of milliseconds since January 1, 1970, to the end of the query string.</p>
<p>When IE caches any file it caches the query string part also. So the next time the url is called the timestamp is different so IE treats it like a brand new file. This is also the only way of doing things if you do not have control of the headers on the dynamic XML.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

