Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-27-2009, 12:14 AM   PM User | #1
BrightNail
Regular Coder

 
Join Date: Jun 2002
Posts: 349
Thanks: 2
Thanked 0 Times in 0 Posts
BrightNail is an unknown quantity at this point
NO caching of a SWF file :: how? Custom way?

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.
BrightNail is offline   Reply With Quote
Old 01-27-2009, 10:17 AM   PM User | #2
freedom_razor
Regular Coder

 
Join Date: Dec 2008
Location: Tannhäuser Gate
Posts: 286
Thanks: 7
Thanked 58 Times in 57 Posts
freedom_razor is an unknown quantity at this point
You can set expiry date for the page in the past:
Code:
<meta http-equiv="Expires" content="Mon, 22 Dec 2000 22:22:22 GMT">
or tell browsers not to cache the page at all:
Code:
<meta http-equiv="PRAGMA" content="NO-CACHE">
freedom_razor is offline   Reply With Quote
Old 01-27-2009, 10:03 PM   PM User | #3
BrightNail
Regular Coder

 
Join Date: Jun 2002
Posts: 349
Thanks: 2
Thanked 0 Times in 0 Posts
BrightNail is an unknown quantity at this point
Quote:
Originally Posted by freedom_razor View Post
You can set expiry date for the page in the past:
Code:
<meta http-equiv="Expires" content="Mon, 22 Dec 2000 22:22:22 GMT">
or tell browsers not to cache the page at all:
Code:
<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.
BrightNail is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:00 PM.


Advertisement
Log in to turn off these ads.