Caching JavaScript REST API Data with Local Storage
.MP4, AVC, 1280x720, 30 fps | English, AAC, 2 Ch | 1h 28m | 167 MB
Instructor: James Millar
.MP4, AVC, 1280x720, 30 fps | English, AAC, 2 Ch | 1h 28m | 167 MB
Instructor: James Millar
This course will teach you how to leverage the HTML storage API to store JSON data as well as exploring alternatives such as pouchDB.
Storing API data client-side and keeping it synchronized can be a challenge, but if done well it can increase performance and improve the user experience. In this course, Caching JavaScript REST API Data with Local Storage, you’ll learn how to use local storage and pouchDB to store and maintain data received from a restful API. First, you’ll explore how local caching works and explore the differences between the different options. Next, you’ll discover how to retrieve data from an API and store it locally. Finally, you’ll learn how to store JSON documents in pouchDB. When you’re finished with this course, you’ll have the skills and knowledge of the HTML local storage API needed to store Rest API data locally in the browser.