Deliver app-like speed and engagement—without leaving the Designer. Step-by-step setup using Workbox and Cloudflare Workers.
Published July 2025 • 11 min read
Add file via Site Settings → Custom Code → Files. Include icons 192 px & 512 px.
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js');
}
</script>
Add to Before </body> site-wide.
import { precacheAndRoute } from 'workbox-precaching';
precacheAndRoute(self.__WB_MANIFEST);
Run npx workbox injectManifest
during CI, output to Assets, then reference path.
Use OneSignal SDK; add API keys in Designer Embed.
Listen to beforeinstallprompt
, stash event, show custom banner. On click event.prompt().
Target score ≥ 90. Fix maskable icon and content width issues.
PWA capabilities give Webflow sites offline resilience and native-like UX—just a few lines of JS away.
Lorem ipsum dolor sit amet consectetur mi urna tellus dignissim duis at in tempor mauris morbi fermentum dolor lobortis aliquam maecenas.