Cache
Cache copied to clipboard
:package: Nothing but Cache.
On line 81 of DiskStorage.swift, the method setObject:_:forKey:expiry:() writes data to a file lacking sufficient encryption settings.The identified method writes data to a file lacking sufficient encryption settings. Note :...
I’m unable to run it on Xcode 12. I can’t run carthage bootstrap without it failing. I’ve gotten errors saying that the 5.3 version of that framework was compiled using...
For my application I would like to display the sizes for the individual cached files on disk. This is possible using the method: ``` let entry = DiskStorage.entry(forKey key: String)...
Apple has declared that it will reject applications and SDKs without a privacy manifest starting in the spring of 2024. SDKs that use `modificationDate` , `contentModificationDateKey` need a privacy manifest,...
Let's say I set some value for my MemoryConfig `totalCostLimit` that cannot be honored (or no limit at all). Will the app receive a memory warning? When does the library...
When caching objects ``` func setupStorage() { do { let memoryConfig = MemoryConfig(expiry: .never) let memoryStorage = MemoryStorage(config: memoryConfig) let diskConfig = DiskConfig(name: CacheKey.diskConfig, directory: fileUrl()) let diskStorage = try...
When use directory as cache key, disk cache just fail This key dose not work `/private/var/mobile/Containers/Data/Application/BBFA132393-27C1-4A50-903420-B5742173983BF8A/Documents/14231/2022-11-03_11-30-28.zip` And this works `2022-11-03_11-30-28.zip` This may be a bug?
First, I'm saying "thank you!" for great caching library! It eliminates lots of needs related to caching, especially for expirable entries Next, I'd like to ask to add convenient extension...
Current `existsObject()` returns true or throw error, not returning false. As per [StorageAware](https://github.com/hyperoslo/Cache/blob/fd97438a85d44aa4f7186145cdba90e3c36f1c94/Source/Shared/Storage/StorageAware.swift#L95), `existsObject()` should not throw an error. Fix `existsObject()` to return false instead of error.