James Millar

View Original

Caching Javascript REST API Data with Local Storage

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.

Check out the course here: Caching JavaScript REST API Data with Local Storage