PDA

View Full Version : Store Proxy Local Storage



Ronits
14 Feb 2013, 4:29 AM
Hi,
We have lots of combo boxes in our page with mostly static data.
Need to cache the combo box values, which are basically static, but, being fetched from database.
* Any help on caching it in Local Storage - proxy.LocalStorage.
* The combo boxes shud go and grab the data from local storage unless -
> Local Storage is null OR
> Data refreshed in semantic/database.

scottmartin
14 Feb 2013, 11:00 AM
Why the extra step? Since you have the data in a DB/table, just load combo stores and be done with it.

You still have to go out and check for delta if there are changes in DB either way.

Scott.