• 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: Caching a local file using NSURLCache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Caching a local file using NSURLCache


  • Subject: Re: Caching a local file using NSURLCache
  • From: Michael Vannorsdel <email@hidden>
  • Date: Thu, 24 Apr 2008 11:36:46 -0600

As far as I know NSURLCache only works for HTTP/HTTPS without extending the class yourself for other protocols. I think you might do better just using a mutable dictionary and saving that to disc with your data objects. The key would be your URL.


On Apr 23, 2008, at 4:14 PM, Stephan Burlot wrote:

What is the correct way to use NSURLCache with NSData on 10.5?

I have a test project available <http://coriolis.ch/dl/cache.zip> if anyone wants to have a look,

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Caching a local file using NSURLCache (From: Stephan Burlot <email@hidden>)

  • Prev by Date: Interesting WebView/NSRunLoop issue
  • Next by Date: Re: NSTextView text coloring problem
  • Previous by thread: Caching a local file using NSURLCache
  • Next by thread: Re: Caching a local file using NSURLCache
  • Index(es):
    • Date
    • Thread