Files
hamkadr/src/JobsMedical.Web/Pages/Shared
soroush.asadi 7acf94695f
CI/CD / CI · dotnet build (push) Successful in 2m38s
CI/CD / Deploy · hamkadr (push) Successful in 3m30s
Make sw.js non-cacheable and self-update so the worker fix actually reaches clients
The sw.js file was cacheable (text/javascript, not covered by the HTML no-cache rule), so browsers/CDN kept serving the old v1 worker and never picked up the v2 fix. Serve sw.js with no-cache/no-store, call reg.update() on load, and reload once on controllerchange so stale cached pages are dropped immediately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 21:24:02 +03:30
..