• 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
NSURLCache - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLCache - how?


  • Subject: NSURLCache - how?
  • From: David Troy <email@hidden>
  • Date: Sat, 14 Jun 2008 15:09:37 -0400

Greetings,

Do I need to do anything special to get NSURLCache to be active, like initialize it somehow?

I would assume it should be active across the lifespan of an application, and for all NSURLRequests/NSURLConnections.

I am using NSURLRequestReturnCacheDataElseLoad and it seems to never return the cached URL and always loads new data from the network.

I'm using [NSURLConnection sendSynchronousRequest] if that makes any difference. I would assume both async and synchronous requests would be cached in the same manner.

Any help appreciated!

Thanks,
Dave
_______________________________________________

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


  • Follow-Ups:
    • Re: NSURLCache - how?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: PDFView's NSPrintPanel : Determine if Print / Cancel clicked?
  • Next by Date: Re: looking for a crc code
  • Previous by thread: Re: How to create Custom Knobs with Sprite animation ?
  • Next by thread: Re: NSURLCache - how?
  • Index(es):
    • Date
    • Thread