- [Instructor] Let's see in action,…how service workers work.…When you get to a browser,…it's the first visit to a website or a PWA,…you type a URL into the browser you have an empty tab…and that empty tab is basically making their request…to the web server.…That web server will answer with a webpage, so an HTML,…and then the browser will render the content.…There is no service worker involved here,…but here comes the new part.…
The new things that we need to understand…in the web platform.…That webpage is registering the service worker.…That service worker is inside the web browser,…and that service worker from now on,…will be responsible only for this code…of that service worker.…At that point, the original webpage,…the one that registered the service worker…is not yet controlled by the service worker.…So any request that that webpage is doing…is bypassing the service worker…because the service worker…is not controlling that webpage yet.…
But if you open new tabs on the same scope,…so on the same domain and folder of that service worker,…
- Service worker life cycle
- Registering service workers
- Handling service worker events
- Updating service workers
- Acting as a network proxy
- Configuring cache storage
- Communicating with clients
- Optimizing web performance
Skill Level Advanced
Web Portfolio Projects: Binding and Propagationwith Leigh Lawhon1h 9m Intermediate
1. A New Citizen for the Web
2. Work with Service Workers
3. Acting as a Network Proxy
4. Cache Storage
5. Work with APIs in the Service Worker
6. Tips and Tricks for Web Performance
Next steps1m 55s
- 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.