I'm a little bit confused about how to avoid RSL caching on client's machine. I have many modules and one main application which loads them. Almost each module and the application itself are using the RSL library (which is my common library project).
Here is how it looks like:
- MyLib.swf (RSL)
- MainApp.swf (uses MyLib.swf as RSL)
- modules/Module1.swf (uses MyLib.swf as RSL)
- modules/Module2.swf (uses MyLib.swf as RSL)
- modules/Module3.swf
The issue itself:
Now i'm changing the code in MyLib and compiling the new version of MyLib.swf. How can I be sure that the users who had already loaded the old version of MyLib.swf, will get the new RSL, and not the old, cached one?
Is it possible to do similar to this with RSL:
var loader: Loader = new Loader();
loader.load(new URLRequest("MyLib.swf?v1.2.3");
P.S. - changing every time the name of MyLib.swf to something like MyLib-v1.2.3.swf is not a solution, because I've something like 20 modules and compiling all of them every time I'm changing something minor in the MyLib is not a good solution.