<?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>Tue, 06 Jan 2009 13:01:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<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>
