Archive for the ‘Service Workers’ Category

Offline *Only* Viewing

Posted on: No Comments
It made the rounds a while back that Chris Bolin built a page of his personal website that could only be viewed while you are offline. This page itself is an experiment in that vein: What if certain content required us to disconnect? What if readers ...

Making your web app work offline, Part 2: The Implementation

Posted on: No Comments
This two-part series is a gentle, high-level introduction to offline web development. In Part 1 we got a basic service worker running, which caches our application resources. Now let's extend it to support offline. Article Series: The Setup The Impl...

Making your web app work offline, Part 1: The Setup

Posted on: No Comments
This two-part series is a gentle introduction to offline web development. Getting a web application to do something while offline is surprisingly tricky, requiring a lot of things to be in place and functioning correctly. We're going to cover all of th...

Implementing Push Notifications: The Back End

Posted on: No Comments
In the first part of this series we set up the front end with a Service Worker, a `manifest.json` file, and initialized Firebase. Now we need to create our database and watcher functions. Article Series: Setting Up & Firebase The Back End (You are h...

Retrofit Your Website as a Progressive Web App

Posted on: No Comments
There's been a lot of buzz around Progressive Web Apps (PWAs) lately, with many people questioning whether they represent the future of the (mobile) web. I'm not going to get into the whole native app vs PWA debate, but one thing is for sure — they g...

Create Offline Web Apps Using Service Workers & PouchDB

Posted on: No Comments
Offline web applications are becoming more and more popular. Offline support is so important that it's now common to talk about the 'Offline First' approach, where it becomes a primary consideration. It's also gathering popularity with the rise of Pro...

We built a PWA from scratch – This is what we learned

Posted on: No Comments
I hadn't considered the fact that if you're fingerprinting your assets (e.g. style.987987090897.css) to take advantage of browser cache, you'll need to update your Service Worker every time you do that. But I guess you've got a build step anyway, so it...

Implementing “Save For Offline” with Service Workers

Posted on: No Comments
A straightforward tutorial by Una Kravets on caching assets and individually requested articles with Service Workers for offline reading. I'm curious what the best practice will become. It's possible that asking users to click something is it. Also pos...

Service Worker, what are you?

Posted on: No Comments
Mariko Kosaka: I finally figured out, it's an alien you can invite to live on user's browser. Service Worker, what are you? is a post from CSS-Tricks