Introduction to Service Workers
Ғылым және технология
Service workers are at the core of PWA techniques for resource-caching and push notifications. This video covers what a Service Worker is, what it can do, and the Service Worker lifecycle in the browser.
Codelabs, slides and more information are available from the Progressive Web Apps Training home page: bit.ly/2MStRqC
Remember to subscribe!! bit.ly/ChromeDevs1
Пікірлер: 48
This video will provide you great insight into service worker functionality.
If you're bored at a party, pull up this video and drink shots each time you hear "Service worker"
@nevertwenty
6 жыл бұрын
hahaha
@corabora6644
6 жыл бұрын
one of THE best comments EVER !!
@prasannajathan
5 жыл бұрын
Hit like, if you couldn't concentrate after reading this comment
@daryllemans9473
5 жыл бұрын
And they'll be fetching you.
@CortlandMahoney
3 жыл бұрын
I'm more interested in the types of parties where we can put this on && take shots to it
Thank you! Keep doing the good work!
Thanks! Great video!
Great tutorial!
Very helpful. Thanks
Hi, Can you provide some links where i can explore more about this Service Workers?. Also will it be good to implement in JSP's along with java script.(No Html)
Hi there, Can i use service worker in local network if clients accept my certs? I will be greatfull for any help.
Great and interesting info..well done ! very useful Im wondering ,if i can keep the powerful core of a PWA and launch this to an iOS app store Would be possible ? I a wrapper is used to make the PWA as hybrid (for app stores ) we will still have the service workers ,working ?
Thanks.
Thank you!
nice and helpful.thanks.
wow amazing it is a very understandable content
Thank you.
Great job. How do I get the license please for both PWAs and Service worker or it comes intact with it?.
@NWWalkerMusic
6 жыл бұрын
Amon Mwaijengo You don't need a license at all! Simply incorporate a JavaScript file into your website's files and you're good to go.
At 7:30 you say that the service worker, if given the `/app/` scope, can control `/app`, but then at 7:40 you say that it cannot control `/app`. Was a slash missing on the first one? (If that's the case, I feel like there should be a clearer distinction between `/app` and `/app/` at 7:25.)
@surfinbird71
6 жыл бұрын
It cannot control '/app' or '/' but they can control '/app/'.
Thanks
Good video
it`s the perfect idea, because not need install app. Browser (www) -> Home Screen (manifest.json) -> Enjoy Nice idea to make workers API with push messages API in iOS and Android "when all apps and browser closed" (!sic) Its the most interesting for business!
Hello developers am. A noob please let me know can we host service worker file other than root of domain please reply.
@lukasberk9303
4 жыл бұрын
why can't you host it at the root of your server?
who can tell me where can I get the related materials
@zhewang7273
5 жыл бұрын
developers.google.com/web/ilt/pwa/introduction-to-service-worker
Hi i am working on PWA that uses Service Workers. In that i am caching index.html for offline use. But after deployment some times service worker still serves old index.html. If i do hard refresh or by pass sw.js everything works fine but in normal reload all calls are failing. how to solve this issue? Please help me out. Note: I am using reactjs and create-react-app.
@nerdiloo9863
5 жыл бұрын
You would have subscribe to the sw to check if an update is available. If it is the you reload the window, or present a prompt for the user to initiate the reload. I recommend watch this YT video to the end: kzread.info/dash/bejne/oaicysiTYNCtmrg.html
This may not be nice of me to say, but I'm zoning out trying to listen to this... I'm going to have to go find a text article or slides.
Is there any licensing needed to use service worker?
@NWWalkerMusic
6 жыл бұрын
Stanly Thomas No license(s) are needed at all. Put simply, it is just another JavaScript file that you add to your website.
nice
Hay quá
My return; not working!
Why does it say [DEPRECATED] in the title ?
Google is the best!!
U've an error in 12:15 extra semicolon in line 8
The content is good but the delivery is also very important to keep the audience engaged. It was very flat and made it difficult to continue watching all the way to the end.
Hay quá
Hay quá
Hay quá
Hay quá