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...

КОМЕНТАРІ • 26

  • @shambhuwali6471
    @shambhuwali6471 2 роки тому

    Thanks Subrat for the great explanation !!

  • @guilhermenogueira1223
    @guilhermenogueira1223 3 роки тому

    Good explanation! Helped me a lot!!!!!!!

  • @EngAlyIbrahim
    @EngAlyIbrahim 3 роки тому

    Good detailed description

  • @anaskhalilkhalilahmed3586
    @anaskhalilkhalilahmed3586 3 роки тому

    can we make job scheduler system using service workers means expierts the tokens if time is expired

  • @muralidharans3821
    @muralidharans3821 4 роки тому +2

    bro very good video ... pls make your sound or voice good

    • @FunOfHeuristic
      @FunOfHeuristic  4 роки тому

      Thanks, I am trying to do something in EQ it will be good in future, thanks for the feedback 🙂

  • @abhishekva449
    @abhishekva449 2 роки тому

    Awesome, instead angular u explain in basic html, css, js file also

  • @user-rv4gp7ny7y
    @user-rv4gp7ny7y 18 днів тому

    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.

    • @FunOfHeuristic
      @FunOfHeuristic  17 днів тому

      Hey in ionic its different, you can check capacitor to create a background task.

  • @anil2009
    @anil2009 4 роки тому +1

    Thanks subrat

    • @FunOfHeuristic
      @FunOfHeuristic  4 роки тому

      You are welcome Anil 🙂.

    • @anil2009
      @anil2009 4 роки тому +1

      please make more videos on Angular 9 features

  • @CreativeDeveloper
    @CreativeDeveloper 3 роки тому

    Nice.

  • @vipingautam1400
    @vipingautam1400 3 роки тому

    Brad traversy se le lia kya bhaiya

  • @muralidharans3821
    @muralidharans3821 4 роки тому

    very good

  • @gahyunlee4324
    @gahyunlee4324 3 роки тому +1

    Thank you so much!!!

  • @dondavis6824
    @dondavis6824 2 роки тому

    good work bro

  • @amolghanwat2360
    @amolghanwat2360 3 роки тому

    Hi Subrat, can we send request with headers ?

  • @siddharthatyagi3744
    @siddharthatyagi3744 4 роки тому +1

    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.

    • @FunOfHeuristic
      @FunOfHeuristic  4 роки тому

      navigator.online return you a Boolean value, so using that you can check a user is online or offline ( true is for online).

    • @siddharthatyagi3744
      @siddharthatyagi3744 4 роки тому

      @@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

    • @FunOfHeuristic
      @FunOfHeuristic  4 роки тому +2

      Hi, the video is coming at 10:45 today

  • @StijnHommes
    @StijnHommes 2 роки тому

    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.

    • @Studytonight
      @Studytonight 2 роки тому

      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 :)