Open piranna opened 11 years ago
It seems 5Apps create automatically an AppCache manifest file, that maybe this could have been the reason I didn't understand it fully. It would need test to know if it would be usable, but it seems it would be possible. The problem is that 5Apps return a 404 error and a custom error page in case the domain doesn't exists, so maybe AppCache would get annoyed. This also happens when requesting an .html page, while with any other kind of path only return the 404 error with no content.
Use AppCache to store a local copy of the application on the browser so it could keep working also if the domain dissapear. This would be used to check at load if the domain exists (it would be used the request for the manifest.appcache file) and if not show a dialog to the user requesting to do a backup of the database so it would be imported on the app from other domain.