• 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
resourceDataUsingCache:NO still caches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resourceDataUsingCache:NO still caches


  • Subject: resourceDataUsingCache:NO still caches
  • From: Gideon King <email@hidden>
  • Date: Sun, 27 Oct 2002 20:16:52 +0800

I am trying to use NSURL's resourceDataUsingCache method as follows:

NSData *data = [[NSURL
URLWithString:@"http://www.mydomain.com/afile.txt";]
resourceDataUsingCache:NO];

When I replace the file on my web site, and call this method from my
application, I get the old version of the file.

Some users of the application say that when they try to access the file
for the first time, they get a file not found error from the web server.

What I would expect to happen is that the latest version of the file
would be loaded every time.

Has anyone encountered this behaviour before?

TIA

Gideon.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • printShowingPrintPanel - problem with settings in 10.2
      • From: Gideon King <email@hidden>
References: 
 >Re: [ANN] Path Finder 2.0 (From: "Brian E. Howard" <email@hidden>)

  • Prev by Date: Re: Cocoa thread-safety
  • Next by Date: printShowingPrintPanel - problem with settings in 10.2
  • Previous by thread: Re: [ANN] Path Finder 2.0
  • Next by thread: printShowingPrintPanel - problem with settings in 10.2
  • Index(es):
    • Date
    • Thread