Chris, I tried the below and also added The Cache Control header is now set to "public", but it still fails to retrieve the content from the cache. A bug? /usr/local/squid/bin/squidclient -p 3128 -h 192.168.75.133 http://www.google.com/idontexist HTTP/1.0 404 Not Found Cache-Control: public Content-Type: text/html; charset=ISO-8859-1 Date: Wed, 07 May 2008 14:47:00 GMT Server: gws X-Cache: MISS from localhost.localdomain Via: 1.0 localhost.localdomain:3128 (squid/2.7.DEVEL0-20080506) Connection: close more access.log 1210171620.299 75 192.168.75.133 TCP_MISS/404 7682 GET http://www.google.com/idontexist - DIRECT/72.14.253.104 text/html 1210171629.695 63 192.168.75.133 TCP_MISS/404 7682 GET http://www.google.com/idontexist - DIRECT/72.14.253.104 text/html Christian ----- Original Message ---- From: Chris Robertson <crobertson@xxxxxxx> To: squid-users@xxxxxxxxxxxxxxx Sent: Tuesday, May 6, 2008 4:22:23 PM Subject: Re: cache of 404 and redirects 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 ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ