I'm debugging an Adobe Flash application my team and I have developed. Each time we update the application swfs we need to clear the browser caches. We also need to delete AssetCaches and setup a few other things. So, I have a simple bash script that deletes Firefox's file cache, Flash's shared objects, Flex's AssetCache, and Safari's Cache.db file. This is all fine, except not thorough. Safari still retains the previously loaded swfs in memory cache. I believe Firefox is doing this also, but intermittently. This makes debugging a bit of a headache to say the least. The work-around is to use each browser's GUI to clear their disc and memory caches. Just a bad work-flow all around. It would be awesome if I could add another line or two to my bash script and wipe the memory cache along with the other tasks. Anyone have an idea how to do this?
|
feedback
|
|
You just need to tell your browser that you cleared the cache. Either by restarting:
Or by clearing the cache using GUI scripting, e.g. the following AppleScript:
You should be able to call it from your shell script using | |||
|
feedback
|
