Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    349
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Dec 2008
    Location
    Tannhäuser Gate
    Posts
    286
    Thanks
    7
    Thanked 58 Times in 57 Posts
    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">

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    349
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •