SDURLCache

URLCache subclass with on-disk cache support on iPhone/iPad

Database CachingCache & Key-Value StoresOpen Source

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

Not enough history
Stars
795
Forks
239
License
MIT
Last commit
10 years ago
Objective-C

Resources & Links

Related Categories

Using SDURLCache?

Track its cost next to the rest of your stack and get a reminder before it renews.

Add to my stack

Vendor

Olivier Poitrey

Director of Engineering at Netflix Co-Founder & ex-CTO of Dailymotion Co-Founder of NextDNS

View vendor profile

More by Olivier Poitrey