Rowdy Rabouw

PWA Fundamentals: websites with superpowers

What if your website could work offline and install like a native app? Learn the fundamental APIs that give websites superpowers.

PWA Fundamentals: websites with superpowers
#1about 4 minutes

Understanding the core principles of Progressive Web Apps

PWAs are reliable, fast, and engaging websites that offer an app-like experience with features like offline support and installability.

#2about 4 minutes

Configuring your PWA with a web app manifest

The manifest.json file informs the browser about your application, enabling features like a custom home screen icon and splash screen.

#3about 7 minutes

Prompting users to install your PWA

Use the `beforeinstallprompt` event to create a custom, user-friendly installation button instead of relying on the default browser banner.

#4about 5 minutes

Getting started with service workers and the Cache API

Register a service worker and use its install event to pre-cache essential application assets with the Cache API for offline access.

#5about 4 minutes

Using the Fetch API for a cache-first strategy

Intercept network requests using the service worker's fetch event to serve assets from the cache first, improving load times and enabling offline use.

#6about 4 minutes

Caching dynamic assets and creating an offline page

Store new assets in a dynamic cache as they are requested and provide a custom offline fallback page when a resource is unavailable.

#7about 3 minutes

Improving perceived speed with an application shell

Use an application shell with placeholder UI elements to give users an immediate visual response while dynamic content loads in the background.

#8about 5 minutes

Managing API data with IndexedDB for offline use

Use IndexedDB, a browser-based database, to efficiently store and retrieve structured data like JSON from API responses for robust offline functionality.

#9about 2 minutes

Notifying users about available PWA updates

Implement a non-disruptive update flow by showing a notification when a new service worker is installed, allowing the user to activate it.

#10about 4 minutes

Simplifying PWA development with Workbox and Q&A

Workbox is a set of libraries that simplifies common PWA patterns, followed by a Q&A session on PWA adoption and development practices.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Building a "shoutout" component in plain HTML/CSS/JavaScript
Every Wednesday we meet at noon to talk about a lot of tech news, tools and resources in something we call WeAreDevelopers Live . We go live on YouTube and afterwards we cut out short videos to post on social media. What we needed was an obvious “sho...
Building a "shoutout" component in plain HTML/CSS/JavaScript
DC
Daniel Cranney
Dev Digest 198: 30 years of JS, In-Browser AI, How Attackers Abuse GenAI
Inside last week’s Dev Digest 198 . 🎂 30 years of JavaScript ⏰ How long is a JavaScript second 💻 Clean code in Angular 🤦‍♂️ AI makes different mistakes than humans 👨‍💻 In-browser and offline AI 🟠 Undocumented Hacker News features 🐋 DeepSeek censored...
Dev Digest 198: 30 years of JS, In-Browser AI, How Attackers Abuse GenAI

From learning to earning

Jobs that call for the skills explored in this talk.