RSLs will not speed up single application.  They are for sharing code
between apps in a single domain.

 

Are your modules still optimized?  How big are they?  Someone else
switched to RSL and then the set of externs changed and their modules
got bigger.  You have to extern the RSL classes.

 

RSLs will get retrieved from the server if they get flushed from the
browser cache.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of arieljake
Sent: Wednesday, September 19, 2007 9:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RSLs

 

I switched my main Flex Project to load two Flex Library Projects as
RSLs instead of as Merged Code to see if I can improve the efficiency
of my project. Now I see this in the Console:

[SWF] /website/bin/ExtendedLib.swf - 1,752,574 bytes after decompression
[SWF] /website/bin/MainLib.swf - 2,345,628 bytes after decompression
[Unload SWF] /website/bin/ExtendedLib.swf
[Unload SWF] /website/bin/MainLib.swf

And I'm noticing a long time to load modules loaded at runtime and I
think it is due to the time it takes to load SWF/unload SWF.

I thought that RSL's are loaded only once. I assume they are not being
retrieved multiple times from the server, but why are they being
loaded and unloaded multiple times?

Thanks,

Ariel

 

Reply via email to