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.
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?

Thanks a lot in advance,
Micha

Reply via email to