Caching Deleting Reusing Storing files from Internet

Alejandro Tejada capellan2000 at gmail.com
Wed Jun 5 23:50:36 EDT 2013


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



More information about the use-livecode mailing list