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?

1630 posts Building the Web.
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items 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

843 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.

2001 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)

8239 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 Volunteer 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 6 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”

8239 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 Volunteer 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 :)

by
by
by
by
by
by