Along the same lines as caching strategies, there are different strategies you can use when storing dynamic data client-side, this looks into local first vs. remote first and the differences in the context of IndexedDB.
- [Tutor] In the same way there are different caching strategies that we saw earlier, there are also different approaches that we can take to storing data on the client side. The main difference is that data is likely to become stale much sooner than static assets. To combat this, we need to make sure that we are regularly going to the network to gather the most state data. As before, we have the same three strategies available to us for retrieving data. But option three is by far the most commonly used for dynamic data. The other main difference when storing data in Indexed DB, is that you don't have to access all the data at once. Unlike the file cash, you can get cash a large amount of data upfront in the database, then retrieve just the data that you need at any given time. So the data retrieval can be more efficient once you've fetched everything from the network.
Skill Level Advanced
Web Programming Foundationswith Morten Rand-Hendriksen58m 44s Beginner
1. Front-End Performance Tools
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.