LogoClawIndex
CasesSkillsAbout
LogoClawIndex

service-worker - Implement offline-ready service workers

Provides vanilla JavaScript patterns for offline support, versioned caching, update handling, background sync, and PWA functionality without Workbox.

Tags

Updated: 2026-09-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Register service workers
  • Precache application assets
  • Clean up old caches
  • Apply cache-first strategies
  • Apply network-first strategies
  • Serve offline fallbacks
  • Handle service worker updates
  • Handle skip-waiting messages

Inputs

  • Application asset list
  • Caching strategy requirements
  • Offline fallback page
  • Service worker scope

Outputs

  • Service worker files
  • Registration script
  • Versioned caches
  • Offline responses
  • Update notifications

Requirements

  • Service Worker-capable browser
  • HTTPS or localhost
  • Read, Write, and Edit access

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
service-worker
offline-support
caching
PWA
vanilla-javascript
Register service workers
Precache application assets
Clean up old caches
Apply cache-first strategies
Application asset list
Caching strategy requirements
Offline fallback page
Service worker files
Registration script
Versioned caches