[squid-users] HIER_NONE on TCP_MISS?

Amos Jeffries squid3 at treenet.co.nz
Tue Jun 27 15:55:04 UTC 2017


On 27/06/17 15:28, bump skier wrote:
> Hi,
> 
> I'm trying to understand the following behavior I'm seeing with Squid 
> running in accelerator mode. In short, I'm seeing some TCP_MISS for 
> requests to a static javascript file which is initially cached and 
> returned as a cache hit. I suspect the missed cache hits are due to the 
> cache size being too small and the file eventually getting evicted. 
> However, I'm confused about what I'm seeing in the Squid access log. For 
> some of the cache misses I can see in the access log that Squid fetches 
> the file from the configured origin server but for a vast majority of 
> them I see HIER_NONE even though Squid is actually returning the file.
> 
> Under what situations would Squid fetch content from the origin server 
> during a cache miss but print HIER_NONE?


It may happen if you have content adaptation (ICAP/eCAP) providing a 
response instead of either cache or origin server.

Maybe also if the collapsed forwarding feature is in use. AFAIK, we have 
not got the log entries quite right there yet.

Amos


More information about the squid-users mailing list