Re: [squid-users] HIER_NONE on TCP_MISS?

2017-06-27 Thread bump skier
Hmm. I don't have ICAP/eCAP or collapsed forwarding configured. Are there
any situations where something similar to collapsed forwarding can happen
by default?

On Tue, Jun 27, 2017 at 11:55 AM Amos Jeffries  wrote:

> 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
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] HIER_NONE on TCP_MISS?

2017-06-27 Thread Amos Jeffries

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
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users