Last updated 14 November 2026 · the honest version of "works offline"
OneToolbox works offline after the first launch; the first launch needs the network once so the app shell, its scripts, its styles and these legal pages can be stored on the device. Launch an installed build for the first time with the network off and you will see a plain page explaining exactly that, instead of a broken app. The single-file portable edition needs no network at all.
The service worker precaches the app shell (index.html), every script and stylesheet under assets/, the five bundled libraries under vendor/, the manifest, the icons, and all seven legal pages. Screenshots, the portable download and the service worker itself are deliberately not precached. The exact list is generated from the files on disk by tools/stamp-sw.mjs, so it cannot drift from what actually ships.
There is no background refresh that could quietly overwrite the shell with a different page. When files change, the build stamps a new service-worker version from a hash of the precached bytes, the new worker installs a fresh cache, and the old caches are deleted on activation. While online, the browser checks /sw.js for that new version; _headers serves it with Cache-Control: no-cache. The check touches only our own host and carries no file or personal data, though the host may log IP addresses as any web server does.
F12 → Network → set Offline, then reload.These steps are automated in tools/test-sw.cjs and tools/test-csp.mjs.