I've used the semi-deprecated Web SQL Database on iPads to store
relational data locally with some periodic polling to see if it's safe
to flush the data to a server. The data survives browser and device
restarts. This works well as long as the network access is reliably
intermittent (as Nate pointed out). I used the persistence.js ORM, which
made the data a little easier to work with.
If you're just storing a set of log lines, localStorage might be the
shorter path (and it would work in Firefox, if that matters).
On 11/11/11 3:41 PM, Nate Vack wrote:
> On Fri, Nov 11, 2011 at 2:31 PM, Cary Gordon<[log in to unmask]> wrote:
>> It depends on what you mean by local.
>> If you mean that the html files are on the iPad and you have no
>> network connection, there isn't much you can do.
> You could use HTML5 storage:
> You'd need network access *sometime,* but not constantly.