01bfbb37d44cc311ea9d00470617f45c9a3e2efe
Pre-loading relied on the page being controlled by the service worker, so its requests would pass through it and be saved. A page loaded with a hard reload (Ctrl+Shift+R) never is: pre-loading then waited, gave up silently, and nothing new was saved — the app still could not start offline, and Settings kept showing the old sync time. The page now asks the worker by message to fetch and save each URL, which works however the page was loaded. Sign-out reaches the worker through its registration for the same reason. Thread URLs come from shared helpers in api.ts, so pre-loading saves exactly what the app asks for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Description
No description provided
11 MiB
Languages
Python
57.3%
TypeScript
31.7%
JavaScript
8.1%
Shell
1.5%
HTML
0.8%
Other
0.5%