AwesomeCache icon indicating copy to clipboard operation
AwesomeCache copied to clipboard

More documentation needed

Open schwa opened this issue 10 years ago • 3 comments

Exactly what does the cache use to store data on disk? Is it CoreData, plain sqlite, even plainer files, is it something else altogether? What are the pros/cons of the system used? The answer to this question belongs in the README.

schwa avatar May 21 '15 01:05 schwa

You are absolutely right.

AwesomeCache uses an instance of NSCache as an intermediate (fast access) store. All cache data is additionally persisted to files on disk to keep it around across app launches or in case the NSCache is automatically purged by the system.

Would something like that be sufficient in your opinion? Do you want more details?

aschuch avatar May 21 '15 11:05 aschuch

I'd like to see a little bit more info on the structure. But that would be a start. Thanks.

schwa avatar May 21 '15 17:05 schwa

Cool, I think about something and add it to the Readme. Thanks again for the suggestion.

aschuch avatar May 23 '15 10:05 aschuch