I have a web app I'm developing and quite like the idea that if the user makes changes to the view of the UI (eg. Lists open or closed, certain viewing preferences) those changes remain after they close the browser and visit the web app at a later date.
Possible options I can think of:
Once stored I will retrieve these preferences when the user returns and set the UI as it was when they last left it.
Does anyone have any experience of this type of feature and can suggest the best method for UI state save and retrieval?
If it's so small you should probably store the UI settings json object in your own database.
That will leave users with less problems at their end, like cache clearance and local storage unsupported browsers.
It will also make it possible for users to use the UI settings across different computers or browsers.