Build apps that work offline

For a long time, offline functionality, background synchronisation and push notifications have differentiated native apps from their web counterparts. The Service Worker API is a game-changing technology that evens the playing field. In this tutorial, we'll use it to build a page that can serve up content even while there's no internet connection.

Working on a site to go with your app? Check out this website builder roundup, and get your web hosting spot on.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Simon Jones

Simon Jones is a technology leader with experience managing product and engineering teams of up to 200 staff, both at startups and large corporates. He is a proficient full-stack developer, in particular with Go & React + TypeScript. He now works at Facebook in London. Formerly CTO at Norwegian VC-backed startup Just, and Engineering Director at Barclays and American Express.

Read more
A desktop with a colourful portfolio on screen
How to create an online portfolio: Steps to curating your own corner of the web
hero
I tested an excellent online Photoshop alternative you've probably never heard of
Photograph of laptop with Shopify sticker, on table beside coffee mug, with woman on her phone out of focus in background
How to use Shopify: tips for beginners
Threads
How to use the new social networks effectively as a creative
ubuntu studio screen grab
Ubuntu Studio: Why you need this open-source Adobe alternative
Selection of work by Andreas Wannerstedt
15 brilliant portfolio examples, and why they work
Latest in App Design
Tax app Pie's visual identity
How we made Pie, the sexy new tax app
Artspira app from Brother
The Artspira app catapults crafting into the future
iPhone messages with sticker options
How to use Stickers in iOS 17
Screenshot from the Design The Next iPhone website
This custom iPhone 14 design tool is the most fun you'll have all day
The App Store logo on a gradient background
Developers, your apps may be deleted from the App Store
iOS 15
Apple backs down on controversial iOS 15 app redesign
Latest in How to
Rob Redman's snowy image illustrates the AE tutorial: TDW313.PT_AE_Snow.indd
How to create realistic snow with particle systems using After Effects
Ivan Mironenko ZBrush character tutorial
Craft a game-ready character asset using ZBrush and Substance 3D Painter
Oliver Schümann ZBrush bizarre baby tutorial
Create a bizarre baby sculpture in ZBrush
Alireza Khoshpayam arch-viz tips
Speedy tips to create beautifully photoreal archviz using 3ds Max and Corona
Maya 3D abstract strands tutorial
How to easily create complex and abstract animation using Maya
Whiskytree battle damage effects tutorial
Create gnarly battle damage for vehicles using a mix of Maya and Nuke