Hi, everyone..
I just got a task about browser cache. Actually the task is create a web page using livecode, and the page will refresh every 15 minutes. But, to reduce traffic I shoud create the cache. And I can't figure it out, I still confuse. Can anyone explain me about cache on lc? or is there a tutorial that I can read? Thank you.
Cache in Live Code
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Cache in Live Code
Hi Lupita,
If I recall correctly, the cache is part of the browser object so you don't need to create it. Have a look at cachedURL and cachedURLs in the dictionary, it should explain things for you.
Rob
If I recall correctly, the cache is part of the browser object so you don't need to create it. Have a look at cachedURL and cachedURLs in the dictionary, it should explain things for you.
Code: Select all
if myURL is not among the lines of the cachedURLs then load myURL
Re: Cache in Live Code
Hi all,
"the cachedurl(s)" is only available for thing you have downloaded with the "load" command.
They have nothing to do with the browser object!
Best
Klaus
"the cachedurl(s)" is only available for thing you have downloaded with the "load" command.
They have nothing to do with the browser object!
Best
Klaus