I have a mobile app that uses Phonegap with OpenLayers and Geoserver. Now, I need to make the app available completely offline. The amount of data points can get very large depending on what client is loaded into the app, and each point has related properties. So, I need to be able to pull the data down to the phone when it is online and then use the local data when it is offline. I like the speed of GeoJSON and would like to use it if possible. I have built a GeoJSON file that loads on the map like I want it to. Now, I have to save edits/moves to the GeoJSON file and I'm stuck. Using a save strategy isn't working and from what I read it looks like I have to have a server script to make that work.
How do I save the edits back to my GeoJSON file?
Or am I going about this all wrong and need to use something else for offline data with OpenLayers?