I am a bit confused about how to avoid RSL caching on the client machine. I have many modules and one main application that loads them. Almost every module and application itself uses the RSL library (which is my common library project).
Here's what 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 3.swf
The problem itself:
Now I am changing the code in MyLib and compiling a new version of MyLib.swf. How can I be sure that users who have already downloaded the old version of MyLib.swf will receive the new RSL , and not the old, cached?
Is it possible to do this using RSL :
var loader: Loader = new Loader(); loader.load(new URLRequest("MyLib.swf?v1.2.3");
PS - it changes every time the name MyLib.swf to something like MyLib-v1.2.3.swf is not a solution, because I have something like 20 modules and compile them every time I change something minor in MyLib is not a good solution.
source share