• 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
Disabling URL caching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling URL caching


  • Subject: Disabling URL caching
  • From: Glen Simmons <email@hidden>
  • Date: Fri, 2 Dec 2005 12:51:44 -0600

(Resending in case Thanksgiving got in the way the first time around)

I have an NSURLProtocol subclass for a custom scheme and I'm having an issue. I need to return different data at different times for the same URL, but the system is caching what I return the first time and I don't ever get called again for that URL. I'm passing NSURLCacheStorageNotAllowed for the cacheStoragePolicy parameter, but that's apparently being ignored. I've also tried calling [[NSURLCache sharedURLCache] removeAllCachedResponses], and other fiddling with NSURLCache, all to no avail.

Is there something else I need to do?

Thanks,
Glen Simmons
_______________________________________________
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
  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: Re: [OT] What happened to Stepstone?
  • Previous by thread: Re: Shift-key state without an event?
  • Next by thread: NSDrawer FirstResponder problem
  • Index(es):
    • Date
    • Thread