Search squid archive

Re: TCP_REFRESH_HIT unwanted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Oct 2007 14:26:12 +0200
"Michael Jurisch" <archer@xxxxxxx> wrote:

> Hi there,
> 
> I found some small hints that hopefully will lead to solve my problem
> (http://www.squid-cache.org/mail-archive/squid-users/200710/0260.html).
> 
> To make it short: in the squid access.log I mostly see
> TCP_REFRESH_HIT/304, but I want them to be TCP_IMS_HIT. If I see it
> right, TCP_REFRESH_HIT/304 means, that the object in cache is not
> considerd as fresh, that's why there goes a request to the origin
> server, which tells squid, that the object wasn't modified. But I
> don't know, why the cache thinks, the objects I test with (2 simple
> html files and one jpg) are stale!? I installed mod_expire for apache
> and I configured it in a way that the objects should be fresh for 5
> minutes. 

Try using a tool that will show you the http headers from the origin
server e.g. wget -S



> To make it clear: I don't hit reload all the time, I just
> click links that connect the two html files, so I only jump from file
> 1 to file 2 and back. In my opinion this has to be TCP_IMS_HIT. So
> what factors influence this? What can I do to get TCP_IMS_HIT instead
> of TCP_REFRESH_HIT?




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux