jquery.i18n icon indicating copy to clipboard operation
jquery.i18n copied to clipboard

If local storage is available save the messages

Open santhoshtr opened this issue 13 years ago • 4 comments

santhoshtr avatar Oct 25 '12 10:10 santhoshtr

I'll note that localStorage is synchronous, and hence storing lots of things in it might slow down the browser.

yuvipanda avatar Oct 25 '12 12:10 yuvipanda

How about IndexedDB falling back to localstorage ? [IndDB has an asynchronous api and is quite efficient]

darkyen avatar Jan 04 '13 17:01 darkyen

How about Indexed DB ? falling back to Localstorage

darkyen avatar Jan 05 '13 11:01 darkyen

I think IndexedDB implementations greatly differ in supported browsers? We can consult Parashuram from Microsoft, who's been active in driving IndexedDB efforts.

We can look at a proposed solution by Zakas - http://www.nczonline.net/blog/2012/04/25/the-performance-of-localstorage-revisited/ http://www.nczonline.net/blog/2012/03/07/in-defense-of-localstorage/

dytrivedi avatar May 06 '13 17:05 dytrivedi