View Full Version : IE Keeps Loading From Cache
IceCo
01-24-2005, 11:13 AM
I always have problems with IE when developing Flash applications.
Problem
For some reasons, IE just won't reload my swf file even if I
1. updated the swf on the server.
2. cleaned the cache, history, and even cookies
3. reboot my computer
I really have no idea where Ie is loading the old swf from...
Can anyone help mw with this issue? :rolleyes:
saumya
01-24-2005, 11:58 AM
hi IceCo,
The problem is very true for me too.I can tell you what I use to do(Thats a stupid method but I do not know a better one).I generally restart the pc.Nonsense isn't it?But I have no option.
Hope you get a better one from somebody.
Saumya
hangalot
01-24-2005, 12:59 PM
browser version?
os version?
sp version?
i just need to close my browser and open a new one.
me too
erease cache and all is fine :)
hangalot
01-24-2005, 03:37 PM
have u guys tried deleting the ASO files as well...
CyanBlue
01-24-2005, 03:40 PM
Uh... What's ASO file, hangalot??? Are you mentioning SO file???
hangalot
01-24-2005, 03:46 PM
no aso files. when the compiler compiles it creates a cache of the files, when u change a file it deletes the cache for that file, but if the systemdates on ur system is slightly confused the compiler uses the cached class, thats an aso file. u will find those files on ur machine:
C:\documents and settings\username\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes\aso
there
also do a google for it.
CyanBlue
01-24-2005, 03:57 PM
Interesting... Thanks, hangalot... :)
IceCo
01-24-2005, 11:23 PM
This problem is getting really annoying and I really have no idea how can this happens. I have tried the following:
1. Cleaned IE cache, cleaned IE history, cleaned IE cookies
2. Updated the swf file on the server
3. Deleted the old version on my computer
4. Shut off the computer and just went sleep
Today, when I log on, IE is still LOADING THE OLD SWF!!?? The Mozilla, FireFox, and Netscape browsers all have been loading the new SWF file since the moment I updated the server.
I belive that I am using the newest version of IE on Windows XP:
IE 6.0.2 SP 2
Other specifications:
Flash 2004 MX with ActionScript 2
Flash Player 7
Server Side Scripting:
PHP 4 + Smarty Template Engine
Task:
I am only constructing a global menu for my website. The swf also loads some external datas from a PHP class that I developed.
Problem:
No matter how hard I tried to updated the SWF file and how many times I cleaned and restarted my computer, IE is mysteriously loading the FIRST SWF file that I uploaded to the server.
P.S. I cannot find the Classes\aso directories under
documents and settings\username\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes
HELP!! :eek:
Hmmm very intresting :p
the only thing i can imagine is that there is some proxy betwen wich have it in the cache !!??
if you erease it from the server can you still load it ??
if yes -- proxy
if no -- put the new version up and try it then
if it's still loading the old version then some mistik and big power have it's fingers in the game
hangalot
01-25-2005, 02:44 PM
a trick that might work is appending a rndom urlparameter to the swf tag thus calling
mySwf.swf?bla=1234324 with a different querystring value eachtime, making the system think its a different resource to get.
also the username bit in the c:\document and settings is ur username, and i promise u it is there (make certain u c hidden content in ur explorer window)
dsdsds
01-25-2005, 06:14 PM
Hi,
(I'm relatively new to all this so excuse me if this is a stupid question)
Isn't there a way to force (by scripting) the browser to download ONLY from server?
not that i know of (at least flash)
but you can prewent caching
http://www.actionscript.org/forums/showthread.php3?t=14627&highlight=nocache
take also a search on "nocache" you will find a lot of usefull tricks
IceCo
What happens if you rename the folder holding the swf file on your server?
ie If the present folder that holds your swf file is called 'flash', rename this 'flash2'. Then point IE towards this. Does it load the old or new swf. It should load the new swf of course because this is a totally new folder previously unvisited. Now alter the swf, clear IE temp internet files and upload the ammended swf. Does IE load the ammended swf?
Hope this makes sense.
Egg
IceCo
01-30-2005, 09:50 AM
I didn't get time to reply since the project was at the hell deadline... :D
But I tried the tricks and.... Woooooowo! Finally! It works!
Both append a GET veriable to the Flash and rename the swf folder actully solve this stupid IE problem! Thanks! :D That been solved, I really need to thank all of you who have helped! I learned something totally new from you guys! :)
P.S. dsdsds, the simplest way (that I know) to enforce the browser to never load anything from cache is by using META tag. However, that does not work in this case for some reasons.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.