|
-
Scrolling text box caching problem.
I have a site that utilizes a number of scrolling text boxes. The boxes call text dynamically from a text file. However, I am having a problem where it is reading the text from the cache so you have to reload the scene two or three times before the correct text shows up.
Once the text is loaded once, I tried setting the variable back to blank, but it still caches on some machines.
Any suggestions?
-
Try this where U call the external txt file-
rn=random(1000000);
loadVariables("content.txt?"+rn);
This will give the user a 1 in 1,000,000 chance they will load the cached file.
Not bad odds the content will be fresh every page load.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|