Service worker: keep one version of each build file #258
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!258
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-241-sw-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #241
sw.jscached each hashed build file when first fetched and never removed old ones; the cache name never changes, soactivatedidn't either. Now caching a hashed file deletes cached versions with the same name minus the-dxh…hash.Verified: new PWA test plants an older
neokom_bg-dxh….wasm, removes the current one, reloads, and expects only the current one cached; it fails without the change (checked) and passes with it, on desktop and Android (service workers on http loopback are skipped on WebKit, as before).🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8