In this video, get a code walk-through of how to complete the challenge.
(upbeat music) … - [Instructor] So let's look at how we solve that challenge. … First, we need to add a new cache. … So in our current caches, … I'm going to add a new cache … with a key of perm. … And I'm going to name it perm. … And add in our version … details as before, like so. … Now that I've given my new cache a name, … we need to tell it which files to cache. … So down in our cache files … we're going to add a new key, … we use the same as before perm, … give that an array … and then we're going to move the files into the cache. … So we've got here a Google font and a bootstrap file. … So we'll grab both of those out of the CSS cache … and put them into the perm cache … remembering to remove the trailing comma. … Because we've now changed the CSS cache, … I'm going to increment the version number … on the CSS cache here 2.2, … and I'm also going to add it to my caches to delete. … So that will be CSS-0.1. … So there it deletes the old cache. … Now that we've got our configuration variables set up, …
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.