I have a question regarding the use of WWW objects. Is there a kind of “caching system” in it?
I mean if I create a WWW variable on a given url (for example to download a jpg file) then I modify my jpg image at the url, then do a new WWW variable on the same url, will I get the new jpg to download or will it look first in the web browser cache files ?
If it does look in the cache first, is there a way to “force” the download of the new file?
Thanks.
the browser will look for it in the cache first.
If you want to force the download of a new file you have to do the same thing as all web pages: append a dummy part to the url that has no importance but that marks it as different to the browser for cache handling. a common thing is using the session id and alike but it could just be Time.time which is rather granted to be different than last time you tried to download
Thanks a lot. It works perfectly.