- Home /
Updating txt from an url (webplayer)
How can I ensure the most up-to-date text is loaded and displayed to my users?
I believe my issue may involve some kind of cache.
My webplayer program loads a .txt document from an url and displays it. The first time it is opened, there are no problems. I can adjust the text file as much as I like, and when the user opens it, the proper text is displayed.
However, if I change the text document once it's been opened by the webplayer, the program will still display the old text. I've cleared the browser cache, and used different browsers, and always see the old text, which is no longer on the server so I assume is in a cache. however, the unity web player setup for caching: http://cdn2.unity3d.com/setup/ is blank to me, suggesting no cache. I'm quite confused.
I have an update message that may change frequently, and naturally I need my users to see the change in order to be updated.
Thanks in advance.
The Unity Caching feature has nothing to do with this, it is a paid feature, and only used when explicitly requested from code.
What happens when you manually load the url with the text?
if you mean just pointing a browser at the url, the updated text is shown.
Your answer
Follow this Question
Related Questions
Does Unity iPhone Support Caching? 2 Answers
How do I insert a variable into a URL? Please Help! 1 Answer
How does the webplayer caching work? 2 Answers
Webplayer unity3d file cache 2 Answers
Web player caching is not happening in only Safari browser. 0 Answers