Run your website offline using Service Workers

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 44

  • @NullPoint961
    @NullPoint961 4 місяці тому

    my old caches are not being deleted when CACHE_NAME is changed, and also, when switched to offline mode my webpage doesn't appear like the video did

  • @KodyVanSloten
    @KodyVanSloten 2 роки тому +1

    This is the first time I've ever rewatched an intro 😂Great job

  • @appolonguy-alain5282
    @appolonguy-alain5282 3 роки тому +2

    Thank you, great it works very well. But how to update the caches when there is internet

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

      I may cover that in the future. but essentially what you would do is intercept the http calls and perhaps only use cache when the user is offline

  • @EdwnPerez
    @EdwnPerez Рік тому

    is there a way to have a offline website that can actively be used such as receiving a message and sending one back while having no service?

  • @TheGarageboyz
    @TheGarageboyz Рік тому +2

    Possible to do this with php?

  • @kill_switch_101
    @kill_switch_101 6 місяців тому

    finally found a great tutorial for this API!

  • @pocket1die126
    @pocket1die126 2 роки тому +1

    great video. waiting for the one that updates the cache.

  • @timothydavis5940
    @timothydavis5940 2 роки тому +1

    Will this work for a mobile phone accessing the website?

  • @diptoshaa008
    @diptoshaa008 4 місяці тому

    Bro,, i factched errors can you help me??

  • @afrographixstudio
    @afrographixstudio 2 роки тому +1

    When i refresh the page , Chrome clear the cache automatically

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

    Cool. What about cljs?

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

      I'll get there :)

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

      @@onthecodeagain I mean: Service Workers + shadow-cljs.

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

      @@shegeley yeah I know! I'll try get a video on that.

  • @frontforumfocus
    @frontforumfocus 2 роки тому +1

    I have an error navigator is not defined

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

      Thats odd. Make sure you've spelled it correctly and see if window.navigator returns anything in console?

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

      @@onthecodeagain I have but everything from my screen does not highlight anything

  • @reverseworld5768
    @reverseworld5768 2 роки тому +1

    hello why my cache storage is empty

    • @pocket1die126
      @pocket1die126 2 роки тому +2

      change the directory. remove the / in your '/index....' happened to me

  • @ridhwwan
    @ridhwwan 2 роки тому +1

    I'll like to apologise for taking so long to find your channel sire 🧙🏾‍♂️

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

    Thank you for sharing this!

  • @phinok.m.628
    @phinok.m.628 2 роки тому +2

    Ah, yeah... Don't you just love it, when people make programming tutorials, but then don't add a link to the sources in the description. Basically making anybody wanting to use it, type it off, run the video through OCR or just look for a different video that has sources?! :D

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

    This was really easy to use, thanks for sharing.

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

    Nice funny video and great content!

  • @frontforumfocus
    @frontforumfocus 2 роки тому +1

    where is the code for this

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

      I didnt make a repo out of this and dont have the projects anymore

  • @1349-o2m
    @1349-o2m 3 роки тому +1

    Thanks this is exactly what i needed

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

    Great
    But not showing clearly plz

  • @clarasampaio1175
    @clarasampaio1175 9 місяців тому

    Thank you so so much

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

    Hello can you send me a code

    • @onthecodeagain
      @onthecodeagain  2 роки тому +1

      If someone creates a git repo for this I'll add it to the description :) dont have the code anymore

  • @saniks5070
    @saniks5070 Рік тому +1

    god