If you use Firefox for Flex development, you may have had problems with a SWF caching problem. Even though a Flex compile updates the SWF file on the file system, Firefox doesn’t pull the new SWF from the server, but rather uses its internal already cached SWF file. This can cause headaches when trying to guess why the code change doesn’t appear in the browser. To solution has been to clear the cache in Firefox and reload the page. I turned my browser cache size limit down to 0MB. This doesn’t seem to fix the problem either. There is another setting that can’t be found in the Firefox interface.
- Open a new tab in Firefox.
- Type about:config in the url.
- Agree to the warning.
- Change the property browser.cache.disk.enable and set it to false.
Thus far this solution seems to keep my SWF file from being cached by Firefox.