Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

why am I always getting TCP_MISS:DIRECT? Why isn't Squid caching? - - [20/Oct/2010:14:42:58 +0000] "GET HTTP/1.1" 200 12001 ""
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4"
share|improve this question
Did you double check in squid's caching directories that there aren't items in there? Anything in Squid's logs? What does your config file look like? – Bart Silverstrim Oct 20 '10 at 15:32
there are bunch of directories/files in there. config is pretty much is out of the box – alexus Oct 20 '10 at 20:43

When I hit that URL I get a non-cacheable response:

Content-Length: 1601
Date: Wed, 20 Oct 2010 16:30:49 GMT
Content-Type: text/html; charset=UTF-8
Etag: "1e52b84-641-42d9d29c90d40"
Server: Apache
Last-Modified: Sun, 08 Apr 2007 17:22:21 GMT
Accept-Ranges: bytes

200 OK
share|improve this answer
why this url isn't cacheable? I'm using that URL as an example. according to my logs, it looks like nothing is cacheable – alexus Oct 20 '10 at 20:41
Have a read of – symcbean Oct 21 '10 at 9:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.