Building a Better Web
June 11–12, 2018: Training
June 12–14, 2018: Tutorials & Conference
San Jose, CA

Offline Sync for Progressive Web Apps

Bradley Holt (IBM Watson and Cloud Platform)
3:35pm–4:15pm Wednesday, June 13, 2018
Author, Frameworks and Libraries
Location: 210 B/F Level: Intermediate
Secondary topics:  High-level, Technical

Who is this presentation for?

Frontend Developers

Prerequisite knowledge

Some limited, at minimum, experience as a frontend developer.

What you'll learn

The audience will walk away knowing how and why to build Offline First Progressive Web Apps using Service Workers, Apache CouchDB, Hoodie, and PouchDB.


With the introduction of Progressive Web Apps and browser APIs such as persistent storage, payments, geolocation, and push notifications, it is now possible to build fully-featured mobile apps on the web platform. One important aspect of Progressive Web Apps is the concept of building your app to be Offline First. With an Offline First approach, you design your app for the most resource-constrained environment first. This approach provides a consistent user experience whether the user’s device has no connectivity, limited connectivity, or great connectivity. One of the biggest benefits of Offline First apps is that they can be very fast, as they provide zero-latency access to content and data stored directly on the device.

The Service Worker API can do most of the heavy lifting when it comes to storing content and assets for Offline First Progressive Web Apps. A bigger challenge can be storing and sync’ing your app’s data. One of the best answers today for offline sync for Progressive Web Apps is a combination of Apache CouchDB (an open source document database), Hoodie (an open source Node.js backend for Offline First apps), and PouchDB (an open source JavaScript database that syncs). This stack can provide you with the starting point for your own Progressive Web App mobile backend and frontend, and it’s entirely open source!

Photo of Bradley Holt

Bradley Holt

IBM Watson and Cloud Platform

Bradley Holt is a Developer Advocate and Senior Software Engineer with IBM Watson Data Platform. He is the author of several publications including Scaling CouchDB and Writing and Querying MapReduce Views in CouchDB (both published by O’Reilly Media). He has spoken at numerous conferences including Abstractions, ApacheCon, the O’Reilly Software Architecture Conference, O’Reilly Fluent, ConFoo, Node.js Interactive, php[tek], ZendCon, and OSCON. Bradley writes and speaks about topics such as Apache CouchDB, PouchDB, Offline First, Node.js, and Domain-Driven Design.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)