Caching Deleting Reusing Storing files from Internet

André Bisseret andre.bisseret at wanadoo.fr
Thu Jun 6 04:43:54 EDT 2013


Bonjour Alejandro,

On Mac, the files are downloaded each time I run the script. 
They are not stored.
At first time I get a photo,
then I got a small video (but very parasitized) followed by a short "noise" ;-)

Best regards
André

Le 6 juin 2013 à 05:50, Alejandro Tejada a écrit :

> Hi all,
> 
> I have run this script on Windows, so please run this
> script in Mac, Linux, Android and iOS and tell me
> if these files are downloaded everytime that you
> run the script:
> 
> on mouseUp
>   create img
>   set the text of last img to URL "
> https://dl.dropboxusercontent.com/u/3834621/cat1.gif"
>   wait 120 ticks
>   play URL "https://dl.dropboxusercontent.com/u/3834621/sq1.au"
>   wait 4 seconds
>   delete last img of this card
> end mouseUp
> 
> I expected that the first time both files are downloaded
> they were stored and next time that a script request them
> LiveCode steps in, behind the scene to reuse the downloaded
> file, instead of downloading them again.
> 
> What are the standars practices to reuse downloaded files
> in Android and iOS?
> 
> Thanks in advance!
> 
> Al
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list