767 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
outandouter says

Hi Folks,

I am working on a flash-based website for a local company.

We released the website one week ago. Today, I added a few new cool features to the website, and also updated a couple of things.

The thing is that the changes don’t reflect on the user’s computer if he has visited the website previously. He has to delete the cookies to see the updates.

When we post on facebook that our website has been updated to our followers, they are complaining that they can not see the updated the website.

How can I force the browser to load the latest website?

- Kamil Waheed

1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
Tean says

Have you tried appending random number to xml or swf url’s?

767 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
outandouter says

Nope. But that might help!

Isn’t there a neater way?

1693 posts Building the Web.
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+7 more
ZoomIt says

Nope. But that might help! Isn’t there a neater way?

You can try the no-cache meta tag – http://www.i18nguy.com/markup/metatags.html – but don’t think it will work :(

xml usually don’t gets updated

846 posts
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
marcfolio says

Random numbers is the only way I’ve been able to do it.

I used to have a javascript function that did it with swf object. I’ll see if I can find it.

2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

best way is to append timestamp (last modified) of the xml file
however, it requires little server side scripting (like php)

8363 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

I usually add date stamp or random number to all xml requests, thing is its all already cached now…

2309 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 10+ members
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
theflyingtinman says

I usually add date stamp or random number to all xml requests, thing is its all already cached now…

It doesn’t matter if it is already cached, adding a random ‘cachebuster’ to url requests (swfs, xml files, images, php files, etc) will cause them to be reloaded.

One problem with that is the cahcebuster then breaks the URLs if you try to run from within Flash so you have to add it conditional on localConection.domain != ‘localhost’, or Capabilities.playerType != “External”

8363 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says


I usually add date stamp or random number to all xml requests, thing is its all already cached now…

It doesn’t matter if it is already cached, adding a random ‘cachebuster’ to url requests (swfs, xml files, images, php files, etc) will cause them to be reloaded.

One problem with that is the cahcebuster then breaks the URLs if you try to run from within Flash so you have to add it conditional on localConection.domain != ‘localhost’, or Capabilities.playerType != “External”

but the main swf is cached, they need to recache that which must be done out of Flash right?

767 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
outandouter says

@ All… thanks for your help…

@ZoomIt… the link that you provided… this Tag from it worked :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by