Users Stuck on Old Web App Version (Aggressive Service Worker Cache-First on HTML)

Service Worker served cached `index.html` indefinitely without revalidating network updates.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Users Stuck on Old Web App Version (Aggressive Service Worker Cache-First on HTML) Platform: Web
Common Root Causes:
  • Service Worker served cached `index.html` indefinitely without revalidating network updates.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Use Network-First for HTML navigation requests and Cache-First only for immutable content-hashed assets.
Safe Diagnostic Command:
Check DevTools -> Application -> Service Workers & Cache Storage
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Service Worker served cached `index.html` indefinitely without revalidating network updates. Recommended diagnostic: `Check DevTools -> Application -> Service Workers & Cache Storage`. Remediation: Use Network-First for HTML navigation requests and Cache-First only for immutable content-hashed assets.

Worked Examples

  • Run `Check DevTools -> Application -> Service Workers & Cache Storage` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-service-worker-stale-cache-loop · Independently verified: 2026-11-25

Related Resources