jquery.i18n
jquery.i18n copied to clipboard
If local storage is available save the messages
I'll note that localStorage is synchronous, and hence storing lots of things in it might slow down the browser.
How about IndexedDB falling back to localstorage ? [IndDB has an asynchronous api and is quite efficient]
How about Indexed DB ? falling back to Localstorage
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/