Join Morten Rand-Hendriksen for an in-depth discussion in this video Cache files in the browser, part of HTTP/2: Developing for Performance.
- [Instructor] Browser caching allows us to tell a browser…for how long it should keep any single file it's downloaded,…and for obvious reasons this will result…in dramatic performance improvements…once you go through a site many times,…maybe switch from page to page to page,…or return to an existing page.…Now, browser caching actually happens in the browser.…And the only thing we can do is give the browser information…about how long we want it to cache any specific file for.…To see this in action we can go to a live site on the web,…and here I have the example…of the http two site space.mor10.com.…
And if I go and inspect the elements here…and switch to the network,…I can see all the downloaded assets.…Now, at first I'm going to re-download this page…with disable cache checked…so I get all new files downloaded.…And then I can look at the headers for the file.…You see, every file that's sent from the server…has a header that has…a bunch of information about that file.…So, if I select, let's say, style main here,…
- What is website optimization?
- Understanding how browsers render content
- Measuring performance
- Optimizing images
- Optimizing code
- Compressing data with GZIP
- Optimizing file caching
- Leveraging CDNs
Skill Level Advanced
Designing Websites for Performancewith Brian Wood43m 32s Appropriate for all
1. Web Performance: An Introduction
Plan of attack1m 52s
2. Web Performance Visualized
3. Optimizing Images
4. Markup and Content
5. Optimizing Delivery
6. The End
Thank you2m 31s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.