Service worker cache now invalidates on every update
Posted by tomspark
SparkBox 1.5.7 fixes a frustrating gap where new features shipped in the dashboard but your browser kept serving stale app.js from the old cache. The service worker had a hardcoded cache name that never changed between releases, so the browser thought nothing had updated. Now the cache name is stamped with the version at build time — every release triggers a fresh cache, and old assets get wiped automatically. I also fixed the Factory Reset flow. The button on Settings → Tools could silently fail in some browser configs (especially in installed PWAs) because the confirmation was relying on window.prompt(), which some environments swallow. It's now a proper modal-first confirmation followed by the DELETE prompt as backup, so you'll always see why the action succeeded or what went wrong. - Service worker cache now invalidates on every release - Factory Reset confirmation is now modal-first, more reliable Head to the Updates tab in your dashboard to pull the new version. If anything breaks, post here in d/sparkbox with your browser and PWA status. --- Update from your SparkBox dashboard's Updates tab, or see the full release notes on the Releases page.