Service Workers | Progressive Web Apps Development
Вставка
- Опубліковано 15 сер 2024
- 08:53 Life cycles of Service Worker
09:46 Registration of service worker in your app
13:25 Installation of service worker and Caching
16:22 Activation of service worker and deleting older Cache
19:14 Fetch in service worker and offline browsing
21:00 Adding cache in fetch event
A service worker is a script that browser runs in the background, separate from a web page. With the help of the service worker, we can also implement push notification and background sync. Service workers can store files or responses in cache storage so it allows developers to create an offline experience for the user.
GitHub: github.com/fun...
docs link: developers.goo...
#ServiceWorkers
Progressive Web Apps Development: bit.ly/359BXpK
Angular Tutorial: bit.ly/2Tnwk1t
Dashboard with chart.js: bit.ly/3c9Jd85
All about Observable: bit.ly/2wVVnBl
All about Http call: bit.ly/2I3Zcqo
Angular Interview: bit.ly/2T67jZN
Application Development: bit.ly/398w7Gf
Upload File to server: bit.ly/3ccsjWd
Data Structure and algo: bit.ly/3c8b7Bh
Slack: bit.ly/2RXPcEK
You can support me on Patreon: / funofheuristic
Thanks for watching...
Thanks Subrat for the great explanation !!
Good explanation! Helped me a lot!!!!!!!
Good detailed description
can we make job scheduler system using service workers means expierts the tokens if time is expired
bro very good video ... pls make your sound or voice good
Thanks, I am trying to do something in EQ it will be good in future, thanks for the feedback 🙂
Awesome, instead angular u explain in basic html, css, js file also
Please I am using ionic storage for my ionic angular app which will be compiled to native(iOS, Android) not PWA. Is there a way to sync my offline data to my express.js server when online? I want the synchronization to happen in the background. Will service work for my use case considering it being compiled to native.
Hey in ionic its different, you can check capacitor to create a background task.
Thanks subrat
You are welcome Anil 🙂.
please make more videos on Angular 9 features
Nice.
Brad traversy se le lia kya bhaiya
very good
Thank you so much!!!
good work bro
Hi Subrat, can we send request with headers ?
Hey @subrat pls make a one video to detect Internet connection so that we can display a toast to user pls check your Internet connection.
navigator.online return you a Boolean value, so using that you can check a user is online or offline ( true is for online).
@@FunOfHeuristic dude have tried many times but never reflect I don't know why if you have Repo or your video share with me. Pls
Hi, the video is coming at 10:45 today
A service worker is an unnecessary piece of crap that runs without user permission even long after you shut down the associated website. They're worse than cookies and need to be banned.
Bad for the end-user but good for developer's point of view :) If developer's intentions is to improve user experience using Service Workers :)