Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when auditing repeat-visit performance, adding offline support, or evaluating PWA readiness for a web application.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -18% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -10% | 0% |
Service workers act as a programmable network proxy between the browser and the network. They eliminate repeated server round-trips for static assets, cut load times on repeat visits by 50–90 %, and allow the app to function at all on flaky or offline networks — which is critical for users on mobile or low-bandwidth connections.
Check whether a service worker is registered and whether it caches static assets, API responses, or provides an offline fallback.
Add a service worker registration call and implement appropriate caching strategies for static assets and navigation requests.
Explain how service workers intercept network requests and how different caching strategies trade off freshness vs. speed.
Review the service worker file and its registration. Flag missing install/ activate lifecycle handlers, absent cache-versioning, missing fetch handlers, and any patterns that could cause stale content to be served indefinitely.
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/performance/service-worker
Other measured skills in the registry, with their headline benchmark lift.