SDURLCache
URLCache subclass with on-disk cache support on iPhone/iPad
About
On iPhone OS, Apple did remove on-disk cache support for unknown reason. Some will say it's to save flash-drive life, others will arg it's to save disk capacity. As it is explained in the NSURLCacheStoragePolicy, the NSURLCacheStorageAllowed constant is always treated as NSURLCacheStorageAllowedInMemoryOnly and there is no way to force it back, the code is certainly gone on this platform. For whatever reason Apple removed this feature, you may be interested by having on-disk HTTP request caching in your application. SDURLCache gives back this feature to this iPhone OS for you.
Open Source Health
- Stars
- 795
- Forks
- 239
- License
- MIT
- Last commit
- 10 years ago
Resources & Links
Related Categories
Vendor
Olivier Poitrey
Director of Engineering at Netflix Co-Founder & ex-CTO of Dailymotion Co-Founder of NextDNS
Quick Links
Open Source
More by Olivier Poitrey
Related Products
Valkey
A flexible distributed key-value database that is optimized for caching and other realtime workloads.
Top category match
Tortilla
Wrapping web APIs made easy.
Top category match
Query
Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
Top category match
Cache
Provides extended PSR-6, PSR-16 (and tags) implementations
Top category match
Picasso
A powerful image downloading and caching library for Android
Top category match
