Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?




On 8 nov 2006, at 15.43, Andrei Tchijov wrote:

It is my assumption that these files are result of using "stringWithContentsOfURL:". The question is, how to prevent this from happening? In my particular case there is no reason whatsoever to cache anything.

If you use the core classes of the URL Loading System - instead of the convenience methods exposed in classes like NSString - you can control the caching behaviour. I'm not sure if it will allow you to prevent the creation of these files, but that's what I would have tried to find out.


<http://developer.apple.com/documentation/Cocoa/Conceptual/ URLLoadingSystem/index.html>

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: Andrei Tchijov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.