Tutorial :What is stored in ~/Library/Caches//Cache.db?



Question:

I'm really wondering what is stored in the mentioned path?

A side question: May a developer use this path (at least the folder) to store his own temp data?


Solution:1

[...] what is stored [...] ?

Cached responses from webservers.

[...] use this path [...] ?

The directory is meant to use for application cache files. Get this path using:

NSArray* paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);  NSString* cacheDir = [paths objectAtIndex:0];  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »