[REBOL] Re: how to force reload?
From: carl:cybercraft at: 19-Oct-2001 19:43
On 19-Oct-01, Petr Krenzelok wrote:
> our provider uses proxy server. In browser, I can force my site to
> reload, by holding shift key down. I just wonder, if there is any
> ability to tell rebol's 'read function to reload url, but don't use
> cached one?
A dodgy way is to add a random query-string to your URL, but how
appreciated this is I wouldn't know. (: The proxy thinks it's a new
URL each time I guess. Example...
read rejoin [url "?" random 10000]
Using "if-modified-since" with HTTP's GET is supposed to force a
reload if the file's date is later than the date you give, but I
haven't found it to work too well. And of course you'd have to write
your own tcp routine instead of using 'read.