Christian Seifert wrote:
Thanks Chris for the suggestions.
I set negative_ttl to a large value. Seems like its not caching the 404 responses....
1210106683.175 63 192.168.75.133 TCP_MISS/404 1525 GET http://www.google.com/idontexist - DIRECT/209.85.173.147 text/html
1210106684.945 41 192.168.75.133 TCP_MISS/404 2943 GET http://www.google.com/idontexist - DIRECT/209.85.173.147 text/html
works find on 200 responses...
1210107245.606 56 192.168.75.133 TCP_MISS/200 6619 GET http://www.google.com/ - DIRECT/209.85.173.147 text/html
1210107246.572 0 192.168.75.133 TCP_MEM_HIT/200 6496 GET http://www.google.com/ - NONE/- text/html
Any ideas?
Christian
Not much you can do in this instance...
-bash-3.00$ squidclient -p 8080 http://www.google.com/idontexist
HTTP/1.0 404 Not Found
Cache-Control: private
Content-Type: text/html; charset=ISO-8859-1
Date: Tue, 06 May 2008 23:17:34 GMT
Server: gws
...
The Cache-Control: private " [i]ndicates that all or part of the
response message is intended for a single user and MUST NOT be cached by
a shared cache" according to RFC 2616.
Chris