Files
ipx/web/sw/sw.ts
rays 0bb7437541 The iOS app opens offline: the page is kept however it was loaded (#506)
The phone in airplane mode opened to "Cannot reach ipodderx.sdf1.net".
The service worker kept the page only when a navigation passed through
it, and the app's own load from Swift may not, so it had no page to
answer with. The page now asks the worker to keep / on every load, and
the app, when a load fails for want of a connection, tries once more
from the web view's cache (returnCacheDataDontLoad) before the alert.
The Swift is not compiled here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
2026-11-29 13:27:56 -05:00

13 KiB