PDA

View Full Version : Force Reload?



Lord Pickle
January 13th, 2006, 09:53 AM
I am having some problems with page reloads. Is there a way to force visitors to grab the swf from the server rather than their cache?

Mirandir
January 13th, 2006, 09:59 AM
if you add a unique querystring to the url your'e loading it will always load from the server.

Something like:


myMovie.loadMovie("movie.swf?anticache=" + (new Date()).getTime());


/Mirandir

mpelland
January 13th, 2006, 10:05 AM
there are metatags to block from caching.. now i am not sure that they work properly, but its a nice thing to put in to the webpages if it is something that gets updated a lot.

hope this helps:
http://www.htmlgoodies.com/beyond/reference/article.php/3472881

Lord Pickle
January 13th, 2006, 11:13 AM
Works great. Thanks guys.