Progressive Web App origin story
A separate JavaScript thread which has listeners
for network requests and app lifecycle events.
🔐 HTTPS is a hard dependency!
Provides branding when site is added to homescreen
Defines splash screen of a PWA
Allows PWAs to appear in app stores
Good news! Drupal has 100% compatibility.
PWAs work with all Drupal sites,
no decoupling or app shell needed.
PWA Drupal module provides drop-in support
to turn your D7 website into a simple PWA.
D8 is coming sometime... Help us out!
The SW doesn't overstay its welcome when
you disable the module. No zombie workers!
Avoids big problems on a plugin-based
CMS like Drupal or WordPress.
Instead of opinionated implementations, these bits are probably best supplied with a Drupal API.
Chrome DevTools provides an excellent
auditing tool called Lighthouse.
The Progressive Web App audit
enables you to debug basics.
Drupal PWA 7.x should score 100
(with responsive theme plus well-configured HTTPS)
"You said all Drupal sites"
We need YOUR help with D8!
We're starting with opinionated features and will use our experiences to make flexible APIs.
We're planning a Service Worker API and
hashing out ideas for a centralized Drupal API.
Plan: leverage JS community tools
to generate a customized Service Worker.
Allow unrelated modules/themes to request specific features of PWA functionality using hooks.
Say hi: