DEV Community

Discussion on: mobile local web-server to store local data by a web app

Collapse
 
rhymes profile image
rhymes

I think you could go incremental with this thing. First use localForage or a similar option so that you can abstract from localStorage and maybe use IndexedDB. Then you can look into replacing AppCache with Service workers.

If that it's not enough then you can write all the code to proxy the webserver.

I'm just saying this because that option seems the most complicated and the one with the most code, while you can maybe settle to not having a proxy at all.

Have fun!