I have this application where I load different modules in a moduleLoader. I pass a parameter to have them cached based on a value which is passed to the shell application e.g. myModule.swf?noCacheValue=ShellApplication.noCacheValue
This (I thought) would cache the modules as long as the shell application's noCacheValue does not change. But what we noticed is when we load the same module different times with the same URL the creationComplete event is fired multiple times and the module is also loading several times (using FireBug I checked)
Is this a known issue or am I doing something wrong, how to know if submodules were unloaded properly?
Thanks for your help!
When the module is cached, your app won't have to download it but creationComplete will still be fired. Because when reloaded the module will go through life cycle methods where all sub elements will be initialized/created.