resourceDataUsingCache:NO still caches
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.