So let's see this in action.…Now going back to the code,…you can load 03_03 > Begin from the Exercise Files…and after we have already played with…the Navigation Timing API,…we are going to add, after that,…Resource Timing API.…So the Resource Timing API is pretty simple.…We also have to get the entries,…so let's call this resEntries from resources.…
And in this case, we are going to getEntriesByType…and the type's going to be resource.…And here, we need to go through all the entries,…so I'm going to use forEach, entry,…similar to what we did before.…I'm going to say, in this case, it's a resource.…
- Understanding the Performance APIs
- Navigation Timing
- Calculate milestones in the Performance Timeline
- Measuring the timing of navigation, resources, servers, and more
- Reading network and device information
- Optimizing code
Skill Level Advanced
Designing Websites for Performancewith Brian Wood43m 32s Appropriate for all
1. Reactive Web Performance
2. Performance Basics
3. Measure Performance
4. Decision-Making Helpers
5. Execute Code More Efficiently
Next steps1m 31s
- 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.