What is the best way to manage a client database on GWT-based clients?

I am working on a GWT client. My application should store some data on the client. I want to put this data in the browser cache. SO, this data will be available for use (at least for the current browser session) with subsequent requests.

Please suggest me what are my options? How do I create my client code? What problems will I encounter?

I found out about two options: one from Google Gearsand the other from HTML5. But both of them are not widely supported in all browsers. Can I think that in my project there is a new level of data that will handle the needs of the database. And will I become my static data in memory itself?

+3
source share
1 answer

Use HTML5 Web Storage . Gears is no longer being updated, and the HTML5 standard is preferred.

When you use Web Storage, you will store your data on the user's disk so that browser and computer crashes do not destroy your data.

+2
source

Source: https://habr.com/ru/post/1788534/


All Articles