Hi!
On Fri, 1 May 1998, Dancer wrote:
> Are you _sure_ that that document came from the cache, and not from the
> web-server?
Absolutely! Here is two log's fragments from Apache and from Squid:
-------------------- Apache's access.log -------------------
gw-op.barnet.kharkov.ua - - [30/Apr/1998:21:14:25 +0300] "GET /computers/img/kntr2.gif HTTP/1.0" 304 -
gw-op.barnet.kharkov.ua - - [30/Apr/1998:21:14:25 +0300] "GET /computers/img/knkr.gif HTTP/1.0" 304 -
-------------------- Squid's access.log --------------------
893960064.562 29 194.135.253.10 TCP_HIT/200 5238 GET http://barnet.kharkov.ua/computers/lmenu.dhtml - NONE/- text/html
893960065.145 266 194.135.253.10 TCP_MISS/304 134 GET http://barnet.kharkov.ua/computers/img/kntr2.gif - FIREWALL_IP_DIRECT/barnet.kharkov.ua -
893960065.297 636 194.135.253.10 TCP_MISS/304 134 GET http://barnet.kharkov.ua/computers/img/knkr.gif - FIREWALL_IP_DIRECT/barnet.kharkov.ua -
You can see, that lmenu.dhtml came from squid, because Apache's access.log has no any records about getting
this one. This is headers from Squid's cache file:
HTTP/1.1 200 OK
Date: Thu, 30 Apr 1998 09:02:55 GMT
Server: Apache/1.2.6
Pragma: no-cache
Connection: close
Content-Type: text/html
> Also, as an aside, squid can't see META HTTP-EQUIV tags, unless the
> web-server checks the document for them, and turns them into the
> appropriate HTTP headers _before_ handing the document to squid.
There is Pragma: directive in the fragment above. Does it means, that Apache sent
this header to squid or no? If no, what I need to do to make Apache send all headers,
that I need?
/doka
Received on Thu Apr 30 1998 - 11:45:23 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:59 MST