• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Alec-Slayden · Nov 02, 2010 at 06:58 AM · textwebplayercacheurlrefresh

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.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jonas-echterhoff ♦♦ · Nov 02, 2010 at 08:51 AM 0
Share

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?

avatar image Alec-Slayden · Nov 02, 2010 at 03:30 PM 0
Share

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

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

WWW.url ERROR:This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support 2 Answers

Draw GUI Text if clicked out of webplayer 1 Answer

WWW requests are exponentially slow on large web pages (xml) 1 Answer

Real Time Refresh from Web Portal 0 Answers

How would you tell if the webplayer got loaded from web or cache? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges