...

View Full Version : NO caching of a SWF file :: how? Custom way?



BrightNail
01-27-2009, 12:14 AM
I had an incident in which I uploaded a swf file with an incorrect URL. Well, when I noticed the issue I uploaded a 'new' file - but those who have previously seen the site kept seeing this "older .swf".

Without a huge proces. renaming files, modifying html files etc.. Is there a way to customize a meta tag or some other mechanism to have a '.swf' file NOT CACHE.
It has to not cache in all browsers.. ala: ie, ff, safari

Please advise.

freedom_razor
01-27-2009, 10:17 AM
You can set expiry date for the page in the past:


<meta http-equiv="Expires" content="Mon, 22 Dec 2000 22:22:22 GMT">

or tell browsers not to cache the page at all:


<meta http-equiv="PRAGMA" content="NO-CACHE">

BrightNail
01-27-2009, 10:03 PM
You can set expiry date for the page in the past:


<meta http-equiv="Expires" content="Mon, 22 Dec 2000 22:22:22 GMT">

or tell browsers not to cache the page at all:


<meta http-equiv="PRAGMA" content="NO-CACHE">


Thanks for the reply but that isn't gonna work. I want to cache the page, just not the SWF file. Basically, everything but the swf --- I was hoping I could throw an exclude in the meta tag or perhaps adding a timestamp at the end of the swf file.. ala.

someSwf.swf?989898767

please advise.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum