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.