• 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: Mon, 28 Nov 2005 09:27:31 -0600

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: [NSApp mainMenu] returns nil under 10.4.3
  • Next by Date: filterPredicate question
  • Previous by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Next by thread: filterPredicate question
  • Index(es):
    • Date
    • Thread