• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
[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?


  • Subject: Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
  • From: Jakob Stoklund Olesen <email@hidden>
  • Date: Wed, 8 Nov 2006 20:09:23 +0100


On 08/11/2006, at 19.13, John Stiles wrote:

Taking it from another angle—I wonder if there is a way to ask WebKit to clear your cache.
In that case you could keep using stringWithContentsOfURL and then just clear your cache when the app terminates.

[[NSURLCache sharedURLCache] removeAllCachedResponses]

The URL loading system is part of Foundation, you don't need Web Kit. (But Web Kit uses it).

I suggest you read the fine manual:

file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/URLLoadingSystem/index.html


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
      • From: John Stiles <email@hidden>
References: 
 >Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: Andrei Tchijov <email@hidden>)
 >Re: Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: John Stiles <email@hidden>)
 >Re: Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: Andrei Tchijov <email@hidden>)
 >Re: Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: Jakob Stoklund Olesen <email@hidden>)
 >Re: Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: Andrei Tchijov <email@hidden>)
 >Re: Who and why creates ~/Library/Caches/<my application> and how to stop it? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Binding Cocoa checkboxes to each other?
  • Next by Date: Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
  • Previous by thread: Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
  • Next by thread: Re: Who and why creates ~/Library/Caches/<my application> and how to stop it?
  • Index(es):
    • Date
    • Thread