A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: changes not seen by browser

  1. #1
    Steve R swrzzzz's Avatar
    Join Date
    Jan 2005
    Location
    Leicestershire,UK
    Posts
    195

    changes not seen by browser

    Hi

    This is probably an HTML question rather than flash and I apologise for the imposition, but when I change an swf on my web pages people tell me they can't see the new flash component unless they clear their caches. I never have this problem with html or javascript components.

    Is there a way to force a reload?

    Thanks

    Steve

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: changes not seen by browser

    Originally posted by swrzzzz
    This is probably an HTML question rather than flash and I apologise for the imposition, but when I change an swf on my web pages people tell me they can't see the new flash component unless they clear their caches. I never have this problem with html or javascript components.

    Is there a way to force a reload?
    This is a common (and very old) issue.
    The solution for Internet Explorer (v6):
    click on "Tools / Internet Options / Settings"
    "Check for newer versions of stored pages" MUST be "Every visit to the page".

    For other browsers (Mozilla,FireFox,etc) you'll find a similar setting.

  3. #3
    Steve R swrzzzz's Avatar
    Join Date
    Jan 2005
    Location
    Leicestershire,UK
    Posts
    195
    Thanks, but thats not quite what I meant.

    I have changed only an swf on a web page, the enclosing html has not been changed or uploaded to the server. Some people can see the new swf and some can't.

    Clearing the cache works for some (me) and not for others. I assume that some people are going through a proxy and not getting an update - how can I ensure all people can see the updated file?

    Do I set expired="0" on all pages or is uploading the unchanged web page so the date changes on it enough?

    Steve

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    You cannot ensure that. Closest thing you can do is to trick the browser into thinking it's loading a dynamic page by adding a dummy variable to the url like ?temp=9999

    that can help there are a couple META tags that are supposed to help but I've found them unreliable as well.

  5. #5
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    This only applies to some 56k users but a web accelorator can cause the mentioned problem. I learned this once when I was unable to upload a page and then look at it.
    Any programming language is at its best before it is implemented and used.

  6. #6
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Originally posted by swrzzzz
    Clearing the cache works for some (me) and not for others. I assume that some people are going through a proxy and not getting an update - how can I ensure all people can see the updated file?
    Indeed,proxy servers are a real pain.
    Many of them,to spare bandwidth are using a kind of local buffer (a cache) to store the requested files.This buffer is updated from time to time,but you need to be lucky ...
    There're several methods to prevent these annoying things.
    More details here: http://www.macromedia.com/cfusion/kn...fm?id=tn_14743

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center