Caching on iOS
Roger Eller
roger.e.eller at sealedair.com
Mon Jan 9 13:00:17 EST 2012
On Mon, Jan 9, 2012 at 12:21 PM, Dan Friedman wrote:
> Hello...
>
> Does anyone know if there is a setting for caching on iOS? Here's what's
> happening: I post text to a file on a server (via ftp) using a simple
> "put" command in a LC project on my iPhone. The data IS writing to the
> server - I can verify that. However, if I re-read the data that was just
> written to the server (from within my app), I get the old version of the
> data. If I wait several hours (I haven't yet tried to figure out exactly
> how long), I get the correct version of the data. I have tried restarting
> the app and I tried restarting the device. The same thing happens on my
> iPad. But, it works perfectly from my desktop computer (which is on the
> same network).
>
> Any ideas?
>
> Thanks in advance,
> -Dan
>
>
It could simply be a network speed issue. Try a tiny text file so you can
check the results quicker, then use a larger file. The actual transfer may
be backgrounded on iOS.
~Roger
More information about the use-livecode
mailing list