The ServiceWorker: The network layer is yours to own

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 41

  • @GoogleDevelopers
    @GoogleDevelopers  10 років тому +83

    *I/O Byte: The ServiceWorker: The network layer is yours to own*
    /by Jake Archibald #iobytes #network
    Introducing ServiceWorker, the API that gives you full control over HTTP caching, request, and forms the basis for push messaging, alarms, geofencing and background sync.

  • @brianwells990
    @brianwells990 6 років тому +6

    Logan Walsh says he's late? I just walked in the door, and this is great stuff. Jake, you're hilarious. Hilarity always helps the medicine go down.

  • @AmitAgarwalOfficial
    @AmitAgarwalOfficial 6 років тому +2

    I might be quite late about ServiceWorkers. But this is the best video about ServiceWorkers I have seen so far. Thanks Jake. Cheers!

  • @rw7799
    @rw7799 6 років тому

    best video i ve seen for months for web tooling..i actually could follow it and seems alot easier then most seem to make everything sound . trains, outdoors, offline etc... class.

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

    it's actually makes me laugh! what a cute and informative video, Jake!

  • @manjeetkumar
    @manjeetkumar 7 років тому

    Good job Jake. I totally enjoyed. Lately i was doing some experiments using sw.js. But, now i am thinking to implement it in my project. Thanks for sharing this.

  • @loganwalsh
    @loganwalsh 9 років тому +6

    great work! I know I'm late to the party but this is cool

  • @LuMiNeX
    @LuMiNeX 10 років тому

    At last!!! This is what I need... thank you very very very very much!!!

  • @eliseegw
    @eliseegw 10 років тому +1

    At 5:06, should cache.add({ ... }); be cache.add([ ... ])?

    • @jakearchibald
      @jakearchibald 10 років тому

      Oops. It shouldn't have the {}. It's just cache.add(request, request...) - sorry for the error!

  • @victornoagbodji
    @victornoagbodji 10 років тому

    hey, can you tell what you used for the diagrams at 1:20-ish ? thanks.

    • @jakearchibald
      @jakearchibald 10 років тому +3

      I drew them in Inkscape and animated them with CSS. The technique is jakearchibald.com/2013/animated-line-drawing-svg/

  • @nekorocket
    @nekorocket 8 років тому

    Just FYI, a minor point. The link to Is ServiceWorker ready at the end has a typo. Instead o a "/" it has a "." after "github.io".

  • @goldbergYoni
    @goldbergYoni 9 років тому

    How is the presenter separated from the background: using a video editing software or does he have huge screen on his back?

  • @davidmaxwaterman
    @davidmaxwaterman 10 років тому

    Wondering about the signature of the cache.add() method. You have an object (ie {}), but the items in it make it look like an array (ie 'a', 'b', 'c'). The spec seems to have an cache.addAll() that takes an array (as one would expect), and other references seem to just give a list of string parameters (like you have, but without the {}).
    Which is it?
    [edit: oh, I see you change it in a later slide 'what we've got so far']

  • @TobiasSailer
    @TobiasSailer 10 років тому

    There is a new kid on the "mobile first block"....
    Presented by the most respected Jake Archibald.
    If that works out, he can finally use this last cubicle at the mens room that was without WiFi ....
    That's really passionate about using the toilet .... => like writing a whole Spec and working with browser vendors ... ;-)
    =>> Love that talk, thanks Jake Archibald

  • @MattyIX
    @MattyIX 10 років тому +5

    And what is the limit for the cache?

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

      each browser has its own cache limit implementation i guess

  • @Patrickdaawsome
    @Patrickdaawsome 8 років тому

    What's the point of ServiceWorker cache? Is this supposed to replace Pragma/Cache-Control/Expires?

    • @naythaniel
      @naythaniel 8 років тому

      That's just where the non-database data for the webapp is located (just like the cache any other application on your phone is allotted). So, when you precache stuff - html, css, js, png or whatever - for your webapp, it lives in the service worker cache.

  • @KirillBerezin
    @KirillBerezin 8 років тому

    Somebody explain 11:50 please?

  • @ling6701
    @ling6701 8 років тому

    great intro, you made a point.

  • @arunrajeevan8026
    @arunrajeevan8026 8 років тому

    Superb stuff..

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

    Any updates?

  • @desmondwilson3416
    @desmondwilson3416 7 років тому

    LET'S HEAR IT FOR Ghost playing bjano!!

  • @mikeagnostik4748
    @mikeagnostik4748 6 років тому

    great video !

  • @ДмитрийЛеснов-ч5з
    @ДмитрийЛеснов-ч5з 9 років тому

    Very cool! Thank you!

  • @vinodpasupuleti2668
    @vinodpasupuleti2668 6 років тому

    how to make google map offline by your explanation. Please help me

  • @gajendersam09
    @gajendersam09 8 років тому +1

    good stuff

  • @ThomasSchranz
    @ThomasSchranz 10 років тому +1

    Offline-first with ServiceWorkers

  • @DiogoVKersting
    @DiogoVKersting 10 років тому +2

    In speed 0.5 it looks like he's drunk.
    Great talk btw.

    • @jakearchibald
      @jakearchibald 10 років тому +23

      That's how I really talk. We had to double the speed of the video to make me sound sober.

    • @DiogoVKersting
      @DiogoVKersting 10 років тому +1

      Hahaha

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

    Hay quá

  • @KostiaBazrov
    @KostiaBazrov 5 років тому

    EEEEEEE

  • @SOMEONE-yq3bv
    @SOMEONE-yq3bv 8 років тому +3

    The jokes seem robotic and borderline cringe. Other than that love it.

    • @boom_shankar
      @boom_shankar 7 років тому +7

      That's the whole point.

    • @an14s
      @an14s 7 років тому +5

      tomek marchi An engineer making a joke, what did you expect? Some kind of art?! 😂