how to force reload?
[1/6] from: petr:krenzelok:trz:cz at: 18-Oct-2001 15:31
Hi,
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?
Thanks,
-pekr-
[2/6] from: arolls:idatam:au at: 19-Oct-2001 14:13
Not answering your question, but
couldn't we make a rebol http server,
and reconfigure the browser to request
a file from it (all locally)?
Then, setting the rebol program to
trace/net on, we could see the difference
between a normal request from the browser,
and a shift-click request from the browser.
Anyone know any difficulties with this idea?
Anton.
[3/6] from: gchiu:compkarori at: 19-Oct-2001 20:12
On Fri, 19 Oct 2001 14:13:29 +1000
Anton Rolls <[arolls--idatam--com--au]> wrote:
> Not answering your question, but
> couldn't we make a rebol http server,
<<quoted lines omitted: 4>>
> between a normal request from the browser,
> and a shift-click request from the browser.
I think there is a rebol proxy on www.rebol.org
I was always under the impression that the browser just
loads from the local cache based upon whatever criteria, and
shift load tells it to ignore the local cache.
However, the problem raised is likely how to bypass your
ISP's cache. Don't think it can be done.
--
Graham Chiu
[4/6] from: petr:krenzelok:trz:cz at: 19-Oct-2001 8:50
Graham Chiu wrote:
> On Fri, 19 Oct 2001 14:13:29 +1000
> Anton Rolls <[arolls--idatam--com--au]> wrote:
<<quoted lines omitted: 8>>
> > and a shift-click request from the browser.
> I think there is a rebol proxy on www.rebol.org
Yes, I will set it up to see what's the difference ...
> I was always under the impression that the browser just
> loads from the local cache based upon whatever criteria, and
> shift load tells it to ignore the local cache.
>
> However, the problem raised is likely how to bypass your
> ISP's cache. Don't think it can be done.
>
Hmm, strange. I visited Cyphre's rebsite, to see what is new. I knew
that there is something new, as I looked at his rebsite from my home
computer. I pressed right button, and "reload" button. Then I switched
to console, and several times tried to read the url. No success though.
Then I swithed to Netscape, and - no success too. So I pressed shift +
reload (or reload button, don't remember now) and browser displayed
updated index.r file finally. That's how I update rebsites nowadays -
cut and from browser, finding corresponding index.r file in View local
cache, pasting new content :-))
-pekr-
[5/6] from: carl:cybercraft at: 19-Oct-2001 19:43
On 19-Oct-01, Petr Krenzelok wrote:
> Hi,
> 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.
> Thanks,
> -pekr-
--
Carl Read
[6/6] from: gchiu:compkarori at: 19-Oct-2001 23:27
On Fri, 19 Oct 2001 08:50:06 +0200
Petr Krenzelok <[Petr--Krenzelok--trz--cz]> wrote:
> Then I swithed to Netscape, and - no success too. So I
> pressed shift +
> reload (or reload button, don't remember now) and browser
> displayed
> updated index.r file finally. That's how I update
My other impression is that if you request enough times, the
ISP's caching software goes to look if there is an updated
version and brings it down for you :)
--
Graham Chiu
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted