WWW bug or feature [Solved]

I am curious, when using WWW does it first look in the cache for the webpage or does it access it directly because I have run into this limitation when using my FeedMe scripts, when the XML document is updated it is not reflected within the program until you physically go to the URL for the xml and refresh the page.

Is this a bug or a feature (by that I mean decrease internet usage)?

WWW will likely use your browser’s cache, just as it uses the browser’s proxy settings.

If you need to refresh the cache try appending a dummy parm with a random number to the url. I know that works for refreshing the Unity content itself.

I am assuming that would work with a php file but if you trying to access a XML document, I do believe you can’t add params to the end of that?

I think it should work with any html request, as it’s a function of GET/POST and the html specification itself. Noting to do with PHP.

The other method of invalidating a cache is through a meta tag.

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

But I don’t think that would work in your situation, just like embedded javascript won’t automatically be executed via a WWW request. It would just be garbage in the front of your retrieved document.

Using the WWWForm method worked, thank you for your help.

Regards,
Corrupted Heart