no-cache http requests by default?
[1/5] from: anton::lexicon::net at: 2-Apr-2002 15:30
How can I get rebol to put Pragma: no-cache in all its
http requests by default?
Anton.
[2/5] from: gchiu:compkarori at: 2-Apr-2002 19:02
On Tue, 2 Apr 2002 15:30:59 +1000
"Anton" <[anton--lexicon--net]> wrote:
> How can I get rebol to put Pragma: no-cache in all its
> http requests by default?
>
Hi Anton
No cache directives are server side, not client.
BTW, have you noticed that backing up directories in some
Windows PCs locks up after reaching the root? I was using
your dir-utils, and older version though ...
--
Graham Chiu
[3/5] from: jurgens:akcorp at: 2-Apr-2002 7:16
Pragma: no-cache is a valid HTTP header to be used by the HTTP client making
a request to a server. Although pragma settings can be configured on the
server too, the request header is important too because it instructs proxy
servers not to return data from the cache but to always get it from the web
server instead.
The only way I would know to answer Anton's question is to write your own
HTTP read function using a TCP port and actually writing the header yourself
in the function, but I suspect there is a better way.
Burt
[4/5] from: greggirwin:mindspring at: 2-Apr-2002 15:50
Hi Anton,
IANAWG (I Am Not A Web Guy) but Hallvard gave me this header tip a while
back for putting keep-alive in the header. I don't know if it will work for
no-cache as well.
t: open/custom http://babelserver.com/ [header [Connection: "keep-alive"]]
--Gregg
[5/5] from: anton:lexicon at: 3-Apr-2002 22:49
> > How can I get rebol to put Pragma: no-cache in all its
> > http requests by default?
>
> Hi Anton
>
> No cache directives are server side, not client.
> Graham Chiu
I disagree, using my no-white-web-proxy.r script to view
the requests passing through to the internet, I noticed
that when using ctrl-refresh to reload a page in
Internet Explorer, there is an extra line printed:
Pragma: no-cache
This causes the transparent proxy at my modem ISP
*not* to get the document from the cache, but to load
it directly from the internet.
I had to do this to view some of my latest uploads to
my rebsite (Rebol.com/Sites/Anton). Something some others
here on this list have experienced.
If I could get Rebol to form its http requests with the
Pragma line in it, then all would be cool.. :)
I was just asking in case anyone knew directly (or maybe
Holger's listening).
Don't worry too much I'll have a dig around.
Anton.