John Poltorak wrote:
> After getting Squid set up on the same host as Zope, I thought I was
> getting Squid to serve out cached Zope pages, but it looks as though it is
> simply acting as a redirector... Here are a couple of access.log entries:-
>
> 1102960638.320 37210 127.0.0.1 TCP_MISS/200 1566 GET http://localhost:8080/guestbook - DIRECT/127.0.0.1 text/html
> 1102963204.410 480 127.0.0.1 TCP_MISS/200 3325 GET http://localhost:8080/ - DIRECT/127.0.0.1 text/html
> 1102963205.490 30 127.0.0.1 TCP_MISS/404 1369 GET http://localhost:8080/favicon.ico - DIRECT/127.0.0.1 text/html
>
>
>
> Do I need to configure Squid (or Zope) in some way to keep some pages in
> cache? The cache is completely empty.
>
>
Check your headers; I'm guessing that there are no cache headers being
set.....
wget -S url
Look for something like the following in your headers:
...........
12 Cache-Control: max-age=60, must-revalidate
...........
Andrew
-- Zope Managed Hosting Systems Administrator/Software Engineer Zope Corporation (540) 361-1700Received on Mon Dec 13 2004 - 12:11:04 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST