Description
Course info
Level
Intermediate
Updated
Oct 9, 2020
Duration
1h 28m
Description

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.

About the author
About the author

James Millar is a freelance software developer based in Malmesbury, England. He has a passion for the cloud and has designed services that handle millions of transactions every day.

More from the author
More courses by James Millar
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is James Millar, and welcome to my course, Caching JavaScript REST API Data with Local Storage. I'm a software development consultant and author from Bristol. Storing data locally in the browser gives you new ways to improve the user experience, increase performance, and opens up the opportunity to leverage functionality such as offline and multi‑device synchronization. In this course, we're going to explore some of the key features of local storage and PouchDB that you can use to manage user data and cache data that you receive from REST APIs. Some of the major topics that we'll cover include how to store data in local storage and session storage, how to store API data, how to work out when API data needs to be refreshed, and working with PouchDB to store complex objects. By the end of this course, you'll have a solid understanding of both local storage and PouchDB and have all the skills you need to add local storage functionality into your web apps. I hope you'll join me on this journey to learn about caching REST API data in local storage with the Caching JavaScript REST API Data with Local Storage course, at Pluralsight.