x


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.

more ▼

asked Nov 02 '10 at 06:58 AM

Alec Slayden gravatar image

Alec Slayden
1.2k 1 4 15

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?

Nov 02 '10 at 08:51 AM jonas echterhoff ♦♦

if you mean just pointing a browser at the url, the updated text is shown.

Nov 02 '10 at 03:30 PM Alec Slayden
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x810
x552
x75
x53
x28

asked: Nov 02 '10 at 06:58 AM

Seen: 1239 times

Last Updated: Nov 02 '10 at 06:58 AM