Making external text files expire?

I’m loading an external text file into my MC, I can get that to work perfectly… but the problem lies in the the browser caching the text and thusly not displaying changes made to the file.

How do I make my text files expire in the browser cache, or failing that force the browser to either reload the file or not cache it in the first place?

http://www.flashguru.co.uk/000023.php

How does that work in terms of a text file? Will I have to append anything onto the filename itself?

It would work the same way I guess, except http://www.flashguru.co.uk/myscript.php you use http://www.yourdomain.com/yourfile.txt. Don’t know for sure if this works for txt files though, but you’re about to find out :wink:

I’m pretty sure if you request using filetxt.txt?unique=unique it should work.

Thanks, seems to be working now… will check with visitors soon to see if there is an improvement.

I’d seen the time/date solution before… but it had never worked, strange…

FOLLOW UP

Will the browser cache my .swf’s as well? Shall I add the unique tag to all of my loaded external files? (im using loadMovie to bring in external flash files)

definatley

OK then. Done.

Thanks.