Service workers

Vilim Stubičan
1 min readSep 21, 2016

--

Go offline and enjoy while browsing your site.

2016-09-21_1447

We recently got into service workers and, as it turns out, they are really cool and they allow you to do a lot of cool stuff.

Service workers are type of web workers that will persist through sessions, meaning, after you close your tab, they will remain installed in the background. They also allow you to cache a bunch of stuff, intercept fetch calls, do background syncs and handle push notifications.

We had an education about service workers and you can it check it in the following video:

Also, if you would like to get into service workers, please do. All our code is right here:

Hope you will be thrilled with it as much as we are. :)

--

--