I am looking at making a javascript app which is primarily reliant upon browser localstorage or websql (not sure which to target yet), however I was wondering if I were to save the users application data within there, will it be cleared if they clear cache or cookies?
My main deployment platform at the moment would be smart phones using phonegap.
Your localStorage will stick around no matter what, it belongs to the app.
It will only go away if the user deletes the app. I’m not totally sure if this is the same for web apps as those do rely on the mobile browser in which case the localStorage belongs to that app.