[squid-users] squid-users Digest, Vol 29, Issue 21

Amos Jeffries squid3 at treenet.co.nz
Wed Jan 11 14:42:27 UTC 2017


On 12/01/2017 12:44 a.m., anand wrote:
> Hello Vinay,
> 
> Please verify the web content is "Static/Dynamic", if the content is
> Static, user requests will be logged TCP_HIT/TCP_REFRESH.
> 
> If the web content is "Dynamic", user requests will be refreshed from
> web server.

That is not an accurate description of current HTTP/1.1 traffic nor of
Squid behaviour.

The separation of static vs dynamic is irrelevant for the purposes of
caching and *does not* impact on the MISS situation.

REFRESH is a sign of the content being either dynamic, private or stale.
HIT is seen on both static and dynamic types of object. Neither is a
sign of being static and MISS can occur for many reasons unrelated to
data being either static or dynamic.

The only difference between them is that dynamic is HIT for shorter
times and REFRESH happens more often, compared with longer HIT period on
static content.

Amos



More information about the squid-users mailing list