Preventing Flex application caching in browser (multiple modules)

后端 未结 5 1055
隐瞒了意图╮
隐瞒了意图╮ 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:52

    What I have done is checksum the SWF file and then add that to its url. Stays the same until the file is rebuilt/redeployed. Handled automagically by a few lines of server-side PHP script

提交回复
热议问题