Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

How to Add Offline Support to Your Web App (without hand-writing a service worker)

The full walkthrough: one config file, an auditable vanilla-JS service worker + client runtime generated for you, zero runtime dependencies — and a live demo you can test offline right now.

  • Swoff is a config-driven generator for service workers and client runtime
  • Run npx @swoff/cli init && npx @swoff/cli generate to set up offline support
  • Verify offline functionality in browser developer tools

More from Saturday 12 September →