In this video, learn how, why, and when to invalidate your cache and discover how to manage this happening for different kinds of files. Get an explanation of utilizing multiple caches for different things.
- [Narrator] Let's talk about cache invalidation. … What is cache invalidation? … Really, it's just a techie term for saying … the data in our cache is no longer up to date or relevant, … and needs to be updated. … The process of updating that data … is what we call cache invalidation. … There's a famous quote by Phil Karlton that says, … the only hard problems in computer science … are cache invalidation and naming things. … So we're going to have a look at both. … First off, why is cache invalidation hard? … The truth is practically, it's not. … What is difficult however, … is knowing when to invalidate your cache. … When is your data no longer up to date? … Without checking for the latest version … and comparing to the cached version, how do we know? … If we're going to get the latest version anyway, … why cache it in the first place? … We've already looked at different caching strategies, … so when we talk about cache invalidation being hard, … what we mean is which caching strategy …
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.