- [Instructor] A service worker has abilities on the scope.…So it's like a couple of super powers that…just keep file path on top of our website.…The most important ability is to see…all the network requests that pages in the scope…are requesting, even across domain,…which means every website from our domain…that is requesting images, css files, (mumbles) files,…will go through the service worker.…
But seeing requests is not the only ability.…Responding for those requests is even more important.…The service worker can create a response…and take that response from a cache…or it can go to the network.…But the service worker will be there in the middle,…like a proxy, seeing and responding and being responsible…for those responses.…Also, the service worker can create responses on the fly,…without going to any server or without going to any cache.…
Just creating a response like if it is web server.…On some platforms, the service worker…can also receive messages from the server,…even if the web app is closed.…How it should do that?…
- 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 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.