This topic is part of our Mobile Application Development with HTML5 training
HTML5 provides an API to store data locally in the browser (as opposed as on the server). This is called Local or Web Storage and all current browsers support it.
With Local Storage, it is possible to make web applications more responsive and impose less strain on servers and this is valuable when the number of concurrent users increases beyond a certain limit.
The work to do is:
- Use Local Storage to remember the name of the last country entered by the user.
- Track changes to Local Storage using the storage event.
- Use Local Storage to memorise the songs from a given artist in case the user wants to display details about that artist again. This minimises the number of requests which need to be done to the Web Service while also increasing responsiveness.
This topic is part of our Mobile Application Development with HTML5 training
Leave a Reply