Confirm HTTPS + a fast baseline
1-3 hrPWAs require HTTPS. Service workers won't register on http (except localhost). Beyond HTTPS, Lighthouse PWA score requires a Performance score above thresholds — a slow site cannot be a PWA. Run a Lighthouse audit FIRST and decide whether to fix performance before adding the manifest + service worker.
- Confirm site serves on HTTPS (Cloudflare, Vercel, Netlify all do this for free)
- Run Lighthouse against your prod URL (Chrome DevTools → Lighthouse → Generate report)
- Note the Performance score; if below 80, prioritise the top 3 issues before continuing
- Run with both Mobile + Desktop emulation; mobile is the harder bar
- Save the baseline scores to the Audit log
- Service workers will not register on http://. localhost is the only exception. Don't waste time debugging install issues if your site is on http://.
- Mixed content (https page loading http assets) breaks service worker fetch interception. Audit your site's network panel for any http URLs.
- Self-signed certs work for localhost but fail in production for service worker registration in some browsers. Use Let's Encrypt / Cloudflare for real certs.