Preventing Flex application caching in browser (multiple modules)

后端 未结 5 908
隐瞒了意图╮
隐瞒了意图╮ 2021-02-04 15:11

I have a Flex application with multiple modules.

When I redeploy the application I was finding that modules (which are deployed as separate swf files) were being cached

5条回答
  •  失恋的感觉
    2021-02-04 15:55

    here is sample.

      function AC_FL_RunContent(){
        var ret = AC_GetArgs(arguments, ".swf?ts=" + getTS(), "movie", 
                  "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",
                  "application/x-shockwave-flash");
        AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);  
      }
    
      function getTS() {
        var ts = new Date().getTime();
        return ts;
      }
    

    AC_OETags.js is file and it exists html-template several places. but as my posting said, I am facing another type of problem.

提交回复
热议问题