Skip to content

Conversation

@PaulRWillis
Copy link
Collaborator

@PaulRWillis PaulRWillis commented Aug 24, 2025

Issue
Network caching was relying on a manual file manager-based implementation

Solution
Enable URLCache in URLSession.shared global singleton to automatically handle network-related caching

Additional notes

  • Works for main app
  • Works for app clip
  • Allows further work to simplify URLSession implementation, including removing cached() function

Screenshots

Screenshot: existing issue where loading shows on no internet connection url-cache-loading
Screenshot: loaded data from network url-cache-loaded-from-network
Screenshot: loaded data from `URLCache` url-cache-loaded-from-cache

@PaulRWillis PaulRWillis requested a review from pdamonkey August 24, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants