<?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"
	>
<channel>
	<title>Comments on: How to stop SWFs caching in the browser once and for all</title>
	<atom:link href="http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/</link>
	<description>Professional and reliable UK based Actionscript development</description>
	<pubDate>Sun, 05 Feb 2012 18:32:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Eric Priou</title>
		<link>http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-397</link>
		<dc:creator>Eric Priou</dc:creator>
		<pubDate>Mon, 15 Mar 2010 18:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-397</guid>
		<description>I prefer to use a md5 hash on the file serverside.
That technic permits the file to be evaluated on its contents more than its date.
The better should also to modify the eTag HTTP headers in concordance with this.</description>
		<content:encoded><![CDATA[<p>I prefer to use a md5 hash on the file serverside.<br />
That technic permits the file to be evaluated on its contents more than its date.<br />
The better should also to modify the eTag HTTP headers in concordance with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-395</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Mon, 15 Mar 2010 08:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-395</guid>
		<description>With a little fiddling this could be extended to work for shell swfs too - if, for example Shell.swf loads ChildA.swf and ChildB.swf then we could pass in two FlashVars to Shell.swf:

var flashvars = {
  childAVersion: &lt;?php echo filemtime(’ChildA.swf’) ?&gt;,
  childBVersion: &lt;?php echo filemtime(’ChildB.swf’) ?&gt;
}

and then when Shell.swf loads in the swf it just needs to append ?version=whatever to the filename.  This should give the same functionality for shell scripts (as long as you know in advance what children you are loading).

Dave</description>
		<content:encoded><![CDATA[<p>With a little fiddling this could be extended to work for shell swfs too - if, for example Shell.swf loads ChildA.swf and ChildB.swf then we could pass in two FlashVars to Shell.swf:</p>
<p>var flashvars = {<br />
  childAVersion: < ?php echo filemtime(’ChildA.swf’) ?>,<br />
  childBVersion: < ?php echo filemtime(’ChildB.swf’) ?><br />
}</p>
<p>and then when Shell.swf loads in the swf it just needs to append ?version=whatever to the filename.  This should give the same functionality for shell scripts (as long as you know in advance what children you are loading).</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-394</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 15 Mar 2010 06:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/how-to-stop-swfs-caching-in-the-browser-once-and-for-all/#comment-394</guid>
		<description>This is really handy and the best solution I've seen - thanks!

I guess we should note that this only covers the main shell swf... not the swfs loaded within that one at runtime.</description>
		<content:encoded><![CDATA[<p>This is really handy and the best solution I&#8217;ve seen - thanks!</p>
<p>I guess we should note that this only covers the main shell swf&#8230; not the swfs loaded within that one at runtime.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

