<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Cache and preload Gaia pages</title>
	<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/</link>
	<description>Flash Developer</description>
	<pubDate>Mon, 06 Feb 2012 07:33:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Evan Gifford</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-20102</link>
		<author>Evan Gifford</author>
		<pubDate>Mon, 05 Dec 2011 10:00:24 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-20102</guid>
		<description>Ahh ... that sounds much better. 20K would be acceptable for such a useful plugin!</description>
		<content:encoded><![CDATA[<p>Ahh &#8230; that sounds much better. 20K would be acceptable for such a useful plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-19829</link>
		<author>Thijs</author>
		<pubDate>Fri, 02 Dec 2011 15:15:22 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-19829</guid>
		<description>@Evan: We are currently working on Temple 3.0.0 which has much less dependencies as the current version.

I can't give you any date (at the moment) when this version will be released. So follow us on Twitter, we will post it as soon as it is available.

Using the CacheLoader of Temple 3.0.0 will only add 20k to your SWF. So this is a significant reduction.</description>
		<content:encoded><![CDATA[<p>@Evan: We are currently working on Temple 3.0.0 which has much less dependencies as the current version.</p>
<p>I can&#8217;t give you any date (at the moment) when this version will be released. So follow us on Twitter, we will post it as soon as it is available.</p>
<p>Using the CacheLoader of Temple 3.0.0 will only add 20k to your SWF. So this is a significant reduction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Gifford</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-19758</link>
		<author>Evan Gifford</author>
		<pubDate>Thu, 01 Dec 2011 12:09:27 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-19758</guid>
		<description>Thanks for this! But wait ..... checking this out for the first time, I am STUNNED by the level of tight integration with your framework!  I started adding classes  ... got to about 10, and began to wonder, how deep does this rabbit hole go? How many classes I need to import from Temple framework to use this Gaia extension?

10?
20?

No no ... I counted JUST the individual classes needed to use CacheURLLoader
61!

61 individual Class dependencies to use this (don't believe me, count for yourself)
This also adds 63KB to each .swf 

Guys, can you help me understand?</description>
		<content:encoded><![CDATA[<p>Thanks for this! But wait &#8230;.. checking this out for the first time, I am STUNNED by the level of tight integration with your framework!  I started adding classes  &#8230; got to about 10, and began to wonder, how deep does this rabbit hole go? How many classes I need to import from Temple framework to use this Gaia extension?</p>
<p>10?<br />
20?</p>
<p>No no &#8230; I counted JUST the individual classes needed to use CacheURLLoader<br />
61!</p>
<p>61 individual Class dependencies to use this (don&#8217;t believe me, count for yourself)<br />
This also adds 63KB to each .swf </p>
<p>Guys, can you help me understand?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13005</link>
		<author>Thijs</author>
		<pubDate>Thu, 21 Apr 2011 13:20:47 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13005</guid>
		<description>@Jhive: Thanks! I will take a look at it!</description>
		<content:encoded><![CDATA[<p>@Jhive: Thanks! I will take a look at it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jhive</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13004</link>
		<author>Jhive</author>
		<pubDate>Thu, 21 Apr 2011 13:12:20 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13004</guid>
		<description>@Thijs:  It does not seem to do so.  My project requires quite a bit of cross page communication so deciding when to load pages into a shared application domain or a new gets pretty important.  Anyways, it seemed to be a quick fix in order to get it functioning.  

In cache loader, add a variable to store the loaderContext.  On the load() function store the context to that variable.

In handleURLLoaderComplete handler I made the following change:

this._loaderContext.checkPolicyFile = false;
this.loadBytes(this._cacheURLLoader.data, this._loaderContext);

You have to set the checkPolicyFile to false since it isn't used by loadBytes.

Anyways, kind of a rushed solution for myself but maybe you would like to look into this further.

Thanks for the great work!</description>
		<content:encoded><![CDATA[<p>@Thijs:  It does not seem to do so.  My project requires quite a bit of cross page communication so deciding when to load pages into a shared application domain or a new gets pretty important.  Anyways, it seemed to be a quick fix in order to get it functioning.  </p>
<p>In cache loader, add a variable to store the loaderContext.  On the load() function store the context to that variable.</p>
<p>In handleURLLoaderComplete handler I made the following change:</p>
<p>this._loaderContext.checkPolicyFile = false;<br />
this.loadBytes(this._cacheURLLoader.data, this._loaderContext);</p>
<p>You have to set the checkPolicyFile to false since it isn&#8217;t used by loadBytes.</p>
<p>Anyways, kind of a rushed solution for myself but maybe you would like to look into this further.</p>
<p>Thanks for the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13000</link>
		<author>Thijs</author>
		<pubDate>Thu, 21 Apr 2011 09:02:44 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-13000</guid>
		<description>@Jhive: I am not sure, need to check that out.</description>
		<content:encoded><![CDATA[<p>@Jhive: I am not sure, need to check that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jhive</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-12984</link>
		<author>Jhive</author>
		<pubDate>Wed, 20 Apr 2011 19:04:45 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-12984</guid>
		<description>@Thijs: Does this take into consideration the application domain of the files?  In other words, do the domain parameters for gaia still have effect?</description>
		<content:encoded><![CDATA[<p>@Thijs: Does this take into consideration the application domain of the files?  In other words, do the domain parameters for gaia still have effect?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10935</link>
		<author>Thijs</author>
		<pubDate>Wed, 19 Jan 2011 09:55:17 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10935</guid>
		<description>@Alexander: the source files you send are the same as my example right? But they work fine here. See I don't see the problem.</description>
		<content:encoded><![CDATA[<p>@Alexander: the source files you send are the same as my example right? But they work fine here. See I don&#8217;t see the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Marchenko</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10915</link>
		<author>Alexander Marchenko</author>
		<pubDate>Tue, 18 Jan 2011 16:49:23 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10915</guid>
		<description>Thanks for your great work, but I can't get it working with the latest versions of the Gaia(3.2.3) and the Temple(2.8.2) - it keeps loading new pages into memory. 
Please let me know if I did something wrong. Here is my source: 
http://www.mediafire.com/?q2w0pkqeoki8phm</description>
		<content:encoded><![CDATA[<p>Thanks for your great work, but I can&#8217;t get it working with the latest versions of the Gaia(3.2.3) and the Temple(2.8.2) - it keeps loading new pages into memory.<br />
Please let me know if I did something wrong. Here is my source:<br />
<a href="http://www.mediafire.com/?q2w0pkqeoki8phm" rel="nofollow">http://www.mediafire.com/?q2w0pkqeoki8phm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats Jacobsson</title>
		<link>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10639</link>
		<author>Mats Jacobsson</author>
		<pubDate>Fri, 07 Jan 2011 13:06:41 +0000</pubDate>
		<guid>http://www.tyz.nl/2010/01/25/cache-and-preload-gaia-pages/#comment-10639</guid>
		<description>Thanks Thijs!!!! It works great now... ;) /Mats</description>
		<content:encoded><![CDATA[<p>Thanks Thijs!!!! It works great now&#8230; <img src='http://www.tyz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> /Mats</p>
]]></content:encoded>
	</item>
</channel>
</rss>

