PDA

View Full Version : localStorage minification



shubakk
12 Oct 2011, 1:36 PM
Hi everybody,

I got an application which must be usable offline.
As sencha provide a convenient proxy to deal with localstorage, i decided to build my app upon it.

It's working really good, and almost fits my need except : i have to put in the localStorage a very large amount of data, maybe more than phones navigator can handle (5Mb, 2.5 in UTF-16).

So i wondered if a minifier exists for the localStorageProxy as i didn't want to put in my model mono-characters key (f, l, n) but real field names (resp. firstname, lastname, nickname, ... purpose only)

Or if such things don't exists, what would be the better way to handle it (sync, breforesync and load events ? )

Thank you