Re: Force Refresh URL
Re: Force Refresh URL
- Subject: Re: Force Refresh URL
- From: Jeremy French <email@hidden>
- Date: Sat, 5 Mar 2005 12:04:30 -0500
One way to eliminate cached HTTP requests is to use unique URLs, to
request the same piece of information. Your URL for requesting the
current version number might look something like this:
http://mysite/currentversion?uniqueNumberHere.
Since each request for the current version has a unique trailing
portion, the idea is the current request is always unique and therefore
cannot have been cached. On the server end you would disregard the
trailing "?uniqueNumberHere" and simply return the current version
number.
---
On Mar 4, 2005, at 11:36 PM, Frank Fenn wrote:
in one of my applications I do an update check at startup retrieving
the currently available version like:
NSDictionary *productVersionDict = [NSDictionary
dictionaryWithContentsOfURL:[NSURL URLWithString:verurl]];
The problem I have is that my ISP caches all data....
Is there a way within my application to force a reload of the given
URL so I can be sure to have always the
latest version of my file?
_______________________________________________
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