On Fri, 31 Mar 2000, Vlad Harchev wrote:
> On Fri, 31 Mar 2000, Klaus Weide wrote:
> > I don't think I have seen this, so please give a concrete example.
>
> Enable source cache. Go to www.yandex.ru (search engine). Press '\' - new
> page will be fetched. Press '\' again - new page will be fetched again. I
> assume most commercial sites are good testsuit for it.
I tried, with my current code (still based on dev.18). It doesn't
act as you describe, it gets a copy from the source cache as expected.
That's the intended behavior (maybe not the best one, but I didn't
change it).
But, your example doesn't really demonstrate what you think it does -
the headers I get are like this
HTTP/1.1 200 OK
Date: Fri, 31 Mar 2000 16:13:59 GMT
Server: Apache/1.3.6 (Unix) mod_perl/1.19 rus/PL28.15
Cache-Control: max-age=3600
Expires: Fri, 31 Mar 2000 17:13:59 GMT
Last-Modified: Thu, 30 Mar 2000 13:06:23 GMT
Connection: close
Content-Type: text/html; charset=windows-1251
In other words, the expiration time is one hour in the future.
And the '=' page doesn't show any 'no-cache', either.
Maybe _your_ lynx comes to a different conclusion because your
timezone is set up the wrong way...
But even with a document that does have a 'no-cache' recognized
by lynx, I still don't get what you describe.
And I don't see how I possibly could - there is no code in the
HTreparse_document path to check for it. (Not in my code, and
I doubt it has been added.)
Klaus